Skip to content
Snippets Groups Projects
Unverified Commit 7b9d61f9 authored by Paul Gregoire's avatar Paul Gregoire Committed by GitHub
Browse files

Merge pull request #343 from Red5/bug/RED5DEV-1074

Fixes scheduled job executing only once.
parents c106bb5b 01190a44
No related branches found
No related tags found
No related merge requests found
...@@ -65,9 +65,10 @@ public class JDKSchedulingServiceJob implements Runnable { ...@@ -65,9 +65,10 @@ public class JDKSchedulingServiceJob implements Runnable {
// remove the job // remove the job
if (autoRemove) { if (autoRemove) {
service.removeScheduledJob(jobName); service.removeScheduledJob(jobName);
// clear the map
jobDataMap.clear();
} }
// clear the map
jobDataMap.clear();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment