mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
SF# 3379935
This commit is contained in:
@@ -449,8 +449,8 @@ PooledThread* ThreadPool::getThread()
|
||||
if (_threads.size() < _maxCapacity)
|
||||
{
|
||||
pThread = createThread();
|
||||
_threads.push_back(pThread);
|
||||
pThread->start();
|
||||
_threads.push_back(pThread);
|
||||
}
|
||||
else throw NoThreadAvailableException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user