git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@464880 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonas B. Lim 2006-10-17 09:54:08 +00:00
parent 7416155e42
commit 35707b3c56
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class Scheduler {
synchronized static public void cancel(Runnable task) { synchronized static public void cancel(Runnable task) {
ScheduledFuture ticket = (ScheduledFuture) clockTickets.remove(task); ScheduledFuture ticket = (ScheduledFuture) clockTickets.remove(task);
if( ticket!=null ) { if( ticket!=null ) {
ticket.cancel(true); ticket.cancel(false);
clockDaemon.remove(task); clockDaemon.remove(task);
} }
} }