mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 13:47:10 +01:00
socket initialization and other fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// TCPServerDispatcher.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Net/src/TCPServerDispatcher.cpp#10 $
|
||||
// $Id: //poco/Main/Net/src/TCPServerDispatcher.cpp#11 $
|
||||
//
|
||||
// Library: Net
|
||||
// Package: TCPServer
|
||||
@@ -139,7 +139,7 @@ void TCPServerDispatcher::run()
|
||||
}
|
||||
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
if (_stopped || _currentThreads > 1 && _queue.empty())
|
||||
if (_stopped || (_currentThreads > 1 && _queue.empty()))
|
||||
{
|
||||
--_currentThreads;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user