I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c944fcce authored by zab2's avatar zab2
Browse files

log if we can't cancel the future

parent 077c4a07
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment