mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-03-07 15:57:17 +08:00
Remove tasks from lookup map upon completion
This commit is contained in:
parent
d4e51e2d07
commit
55818ce5eb
@ -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;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user