(server) attempt to fix broken macOS unittest on travis CI
This commit is contained in:
		@@ -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);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user