summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index deeae08c287..855cdaa622d 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -105,6 +105,7 @@ IceInternal::ThreadPool::~ThreadPool()
{
assert(_destroyed);
assert(_inUse == 0);
+
closeSocket(_fdIntrWrite);
closeSocket(_fdIntrRead);
}
@@ -162,9 +163,6 @@ IceInternal::ThreadPool::promoteFollower()
{
try
{
- cout << __FILE__ << ": " << __LINE__ << "\n"
- << "Size=" << _size << ", " << "SizeMax=" << _sizeMax << ", " << "SizeWarn=" << _sizeWarn
- << " _threads.size()=" << _threads.size() << endl;
IceUtil::ThreadPtr thread = new EventHandlerThread(this);
_threads.push_back(thread->start());
}