better server termination / another try at preventing thread join failures

This commit is contained in:
Benjamin Sergeant
2019-04-24 09:45:53 -07:00
parent f1b3ecc738
commit f563d14134
3 changed files with 11 additions and 0 deletions

View File

@ -37,6 +37,8 @@ namespace ix
void WebSocketServer::stop()
{
stopAcceptingConnections();
auto clients = getClients();
for (auto client : clients)
{