From: David J. <d_j...@us...> - 2002-05-03 23:36:10
|
User: d_jencks Date: 02/05/03 16:36:09 Modified: src/main/org/jboss/util Tag: Branch_3_0 TimerQueue.java Log: Release the last dead task in the queue Revision Changes Path No revision No revision 1.1.2.1 +3 -1 jboss-common/src/main/org/jboss/util/TimerQueue.java Index: TimerQueue.java =================================================================== RCS file: /cvsroot/jboss/jboss-common/src/main/org/jboss/util/TimerQueue.java,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- TimerQueue.java 16 Feb 2002 08:53:18 -0000 1.1 +++ TimerQueue.java 3 May 2002 23:36:09 -0000 1.1.2.1 @@ -14,7 +14,7 @@ * * @see TimerTask * @author <a href="mailto:sim...@co...">Simone Bordet</a> - * @version $Revision: 1.1 $ + * @version $Revision: 1.1.2.1 $ */ public class TimerQueue extends WorkerQueue @@ -85,6 +85,8 @@ { case TimerTask.CANCELLED: case TimerTask.EXECUTED: + //don't hold onto last dead task if we wait. + task = null; return getJobImpl(); case TimerTask.NEW: case TimerTask.SCHEDULED: |