fix webservice reconnection
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m6s
/ Build BaseBand Server (push) Successful in 1m27s

This commit is contained in:
Daniella / Tove 2024-06-13 15:06:32 +02:00
parent eec12302ff
commit 2e2c032ad8
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
2 changed files with 4 additions and 4 deletions

View file

@ -89,7 +89,7 @@ public class BaseBand {
finishedDisabling = true;
Chat.print("Unloaded.");
LOGGER.info("Unloaded.");
}, "ASync Config Updater").start();
}, "Async Config Updater").start();

View file

@ -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) {