some fixes
PIEthernet::listen PIClientServer::Server::~Server PISystemTime const sleep ClientServer tests fast and stable
This commit is contained in:
@@ -72,11 +72,7 @@ PIClientServer::Server::~Server() {
|
||||
clean_thread->waitForFinish();
|
||||
piDeleteSafety(clean_thread);
|
||||
stopServer();
|
||||
for (auto c: clients) {
|
||||
c->aboutDelete();
|
||||
c->destroy();
|
||||
delete c;
|
||||
}
|
||||
closeAll();
|
||||
piDeleteSafety(tcp_server);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user