Commits

jhouse  committed cd81c56

QUARTZ-521 : possible infinite loop during deletion of trigger if it was already removed/replaced.

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@73569f7d36a-ea1c-0410-88ea-9fd03e4c9665

  • Participants
  • Parent commits 30d28a0

Comments (0)

Files changed (1)

File src/java/org/quartz/simpl/RAMJobStore.java

                 cal = retrieveCalendar(ctxt, tw.trigger.getCalendarName());
             }
             Date prevFireTime = trigger.getPreviousFireTime();
+            // in case trigger was replaced between acquiring and firering
+            timeTriggers.remove(tw);            
             // call triggered on our copy, and the scheduler's copy
             tw.trigger.triggered(cal);
             trigger.triggered(cal);