forked from I2P_Developers/i2p.i2p
log if we can't cancel the future
This commit is contained in:
@ -385,7 +385,8 @@ public class SimpleTimer2 {
|
||||
boolean cancelled = _future.cancel(false);
|
||||
if (cancelled)
|
||||
_state = TimedEventState.CANCELLED;
|
||||
else {} // log something as this could be serious, we remain RUNNING otherwise
|
||||
else
|
||||
_log.warn("could not cancel "+this);
|
||||
return cancelled;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user