refactor: some changes

This commit is contained in:
Yurii
2024-11-15 00:25:41 +03:00
parent 0d71a674b6
commit 19feb85230
7 changed files with 62 additions and 15 deletions

View File

@@ -184,6 +184,10 @@ protected:
}
void loop() {
if (vars.states.restarting || vars.states.upgrading) {
return;
}
if (this->connected && !this->client->connected()) {
this->connected = false;
this->onDisconnect();