mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-23 22:59:40 +00:00
Fix deadlocks caused by waiting for async operations to complete before the scheduler has started
This commit is contained in:
7 files changed
+16
-38
No files matched your search
@@ -148,11 +148,7 @@ public class LPBungeePlugin extends Plugin implements LuckPermsPlugin {
|
||||
|
||||
// Run update task to refresh any online users
|
||||
getLog().info("Scheduling Update Task to refresh any online users.");
|
||||
try {
|
||||
new UpdateTask(this).run();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
updateTaskBuffer.request();
|
||||
|
||||
getLog().info("Successfully loaded.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user