PICloud disconnect

This commit is contained in:
2021-04-07 18:11:25 +03:00
parent bf63b0e9f3
commit b2f8132518
4 changed files with 12 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ void CloudServer::addClient(DispatcherClient * c) {
void CloudServer::removeClient(DispatcherClient * c) {
clients.removeOne(c);
index_clients.removeOne(c->clientId());
server->sendDisconnected(c->clientId());
}