summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Connection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index e513d788bbd..420bdb38427 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -1563,8 +1563,9 @@ IceInternal::Connection::setState(State state)
{
// See _queryMutex comment in header file.
IceUtil::Mutex::Lock sync(_queryMutex);
+ _transceiver = 0;
}
- _transceiver = 0;
+ _threadPool = 0; // We don't need the thread pool anymore.
}
else
{