Remove tasks from lookup map upon completion
This commit is contained in:
@@ -187,6 +187,7 @@ public class VelocityScheduler implements Scheduler {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.logger.error("Exception in task {} by plugin {}", runnable, plugin, e);
|
Log.logger.error("Exception in task {} by plugin {}", runnable, plugin, e);
|
||||||
} finally {
|
} finally {
|
||||||
|
onFinish();
|
||||||
currentTaskThread = null;
|
currentTaskThread = null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user