Increasing thread safety
Dieser Commit ist enthalten in:
Ursprung
70198d0962
Commit
1965a544cb
@ -151,7 +151,9 @@ public class Subserver implements Runnable {
|
||||
fatalError();
|
||||
Thread.currentThread().interrupt();
|
||||
} finally {
|
||||
serverList.remove(this);
|
||||
synchronized (serverList){
|
||||
serverList.remove(this);
|
||||
}
|
||||
ProxyServer.getInstance().getServers().remove(serverName);
|
||||
shutdownCallback.run();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren