13
0

Merge branch 'threadSafety' of SteamWar/PersistentBungeeCore into master

Dieser Commit ist enthalten in:
Lixfel 2019-12-29 21:17:39 +01:00 committet von Gitea
Commit bfb409f2c6

Datei anzeigen

@ -151,7 +151,9 @@ public class Subserver implements Runnable {
fatalError(); fatalError();
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
} finally { } finally {
synchronized (serverList){
serverList.remove(this); serverList.remove(this);
}
ProxyServer.getInstance().getServers().remove(serverName); ProxyServer.getInstance().getServers().remove(serverName);
shutdownCallback.run(); shutdownCallback.run();
} }