Increasing thread safety
Dieser Commit ist enthalten in:
Ursprung
70198d0962
Commit
1965a544cb
@ -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();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren