mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 15:35:36 +00:00
applied patch in https://issues.apache.org/activemq/browse/AMQ-1235
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@533740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afba1a811d
commit
9f7fff7365
@ -51,7 +51,8 @@ public class Scheduler {
|
||||
ScheduledFuture ticket = (ScheduledFuture) clockTickets.remove(task);
|
||||
if( ticket!=null ) {
|
||||
ticket.cancel(false);
|
||||
clockDaemon.remove(task);
|
||||
if (ticket instanceof RunnableScheduledFuture)
|
||||
clockDaemon.remove((RunnableScheduledFuture) ticket);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user