fix webservice reconnection
This commit is contained in:
parent
eec12302ff
commit
2e2c032ad8
2 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ public class BaseBand {
|
|||
finishedDisabling = true;
|
||||
Chat.print("Unloaded.");
|
||||
LOGGER.info("Unloaded.");
|
||||
}, "ASync Config Updater").start();
|
||||
}, "Async Config Updater").start();
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -51,12 +51,12 @@ public class WebServiceClient {
|
|||
try {
|
||||
outputStream.writeString(JSON.write(keepAlive));
|
||||
} catch (Exception e1) {
|
||||
inputStream = null;
|
||||
outputStream = null;
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
inputStream = null;
|
||||
outputStream = null;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
if(!wasEverConnected) {
|
||||
|
|
Loading…
Add table
Reference in a new issue