cloud fixes ...
This commit is contained in:
@@ -68,6 +68,7 @@ void DispatcherServer::cleanClients() {
|
||||
csc->close();
|
||||
if (!rmrf_clients.contains(csc)) rmrf_clients << csc;
|
||||
}
|
||||
c->close();
|
||||
c_servers.remove(c->serverUUID());
|
||||
index_c_servers.remove(c->getConnection());
|
||||
rmrf_clients << const_cast<DispatcherClient *>(c->getConnection());
|
||||
@@ -203,6 +204,7 @@ void DispatcherServer::disconnectClient(DispatcherClient * client) {
|
||||
csc->close();
|
||||
if (!rmrf_clients.contains(csc)) rmrf_clients << csc;
|
||||
}
|
||||
cs->close();
|
||||
c_servers.remove(cs->serverUUID());
|
||||
index_c_servers.remove(client);
|
||||
delete cs;
|
||||
|
||||
Reference in New Issue
Block a user