Fix deadlocks caused by waiting for async operations to complete before the scheduler has started

This commit is contained in:
Luck
2016-10-22 09:21:30 +01:00
Unverified
parent 9b92143501
commit 77e70ef8d3
7 changed files with 16 additions and 38 deletions
@@ -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.");
}