mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-24 08:14:25 +00:00
Cancel delayed/repeating tasks at the start of the disable process (#1935)
This commit is contained in:
6 files changed
+43
-9
No files matched your search
@@ -101,8 +101,12 @@ public class SpongeSchedulerAdapter implements SchedulerAdapter {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
public void shutdownScheduler() {
|
||||
Iterators.tryIterate(this.tasks, Task::cancel);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void shutdownExecutor() {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user