убрал лишнее в PICloudServer

This commit is contained in:
Бычков Андрей
2022-11-08 16:37:10 +03:00
parent b17510218b
commit 21fa3baf4e
3 changed files with 11 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ int main(int argc, char * argv[]) {
}));
CONNECTL(cl, closed, ([&clients, cl](){
piCout << "[Server] client closed ..." << cl;
cl->stopAndWait();
cl->stop();
clients.removeAll(cl);
piCout << "[Server] client closed ok" << cl;
}));