(server) attempt to fix broken macOS unittest on travis CI
This commit is contained in:
parent
678ee0615d
commit
323684efff
@ -181,14 +181,13 @@ namespace ix
|
|||||||
auto& connectionState = it->first;
|
auto& connectionState = it->first;
|
||||||
auto& thread = it->second;
|
auto& thread = it->second;
|
||||||
|
|
||||||
if (!connectionState->isTerminated() ||
|
if (!connectionState->isTerminated())
|
||||||
!thread.joinable())
|
|
||||||
{
|
{
|
||||||
++it;
|
++it;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
thread.join();
|
if (thread.joinable()) thread.join();
|
||||||
it = _connectionsThreads.erase(it);
|
it = _connectionsThreads.erase(it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user