Remove tasks from lookup map upon completion

This commit is contained in:
Hugo Manrique
2020-03-13 18:17:06 +01:00
parent 5c6163d8cd
commit 6ec6beedbd

View File

@@ -187,6 +187,7 @@ public class VelocityScheduler implements Scheduler {
} catch (Exception e) {
Log.logger.error("Exception in task {} by plugin {}", runnable, plugin, e);
} finally {
onFinish();
currentTaskThread = null;
}
});