(server) attempt to fix broken macOS unittest on travis CI

This commit is contained in:
Benjamin Sergeant 2019-04-22 09:36:16 -07:00
parent 678ee0615d
commit 323684efff

View File

@ -181,14 +181,13 @@ namespace ix
auto& connectionState = it->first;
auto& thread = it->second;
if (!connectionState->isTerminated() ||
!thread.joinable())
if (!connectionState->isTerminated())
{
++it;
continue;
}
thread.join();
if (thread.joinable()) thread.join();
it = _connectionsThreads.erase(it);
}
}