Remove tasks from lookup map upon completion

This commit is contained in:
Hugo Manrique 2020-03-13 18:17:06 +01:00 committed by Andrew Steinborn
parent d4e51e2d07
commit 55818ce5eb

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;
}
});