mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
* Streaming:
- Don't stop timers when session disconnects (tickets #644, #810) - Throw exception on attempt to use destroyed socket manager - Clear TCBShare cache when stopped - Javadocs
This commit is contained in:
1 parent
b9a5dd48f6
commit
6f5f4d179b
7 files changed
+32
-4
No files matched your search
@@ -87,6 +87,7 @@ public class SimpleTimer2 {
|
||||
/**
|
||||
* Stops the SimpleTimer.
|
||||
* Subsequent executions should not throw a RejectedExecutionException.
|
||||
* Cannot be restarted.
|
||||
*/
|
||||
public void stop() {
|
||||
_executor.setRejectedExecutionHandler(new ThreadPoolExecutor.DiscardPolicy());
|
||||
|
||||
Reference in new issue
Block a user