Commit 0b422b3e authored by legoc's avatar legoc
Browse files

Corrected blocking when exiting

parent 7f249de4
......@@ -119,8 +119,10 @@ public class ServerConnection {
public boolean serverExists() {
serverInstance = ServerInstance.getInstance().getApplicationInstance(serverId);
return (serverInstance != null && serverInstance.exists());
if (serverInstance == null) {
serverInstance = ServerInstance.getInstance().getApplicationInstance(serverId);
}
return serverInstance.exists();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment