Increasing thread safety #2
@ -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