forked from I2P_Developers/i2p.i2p
* 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:
@ -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