summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-02-12 18:44:08 +0000
committerMarc Laukien <marc@zeroc.com>2003-02-12 18:44:08 +0000
commit1a8da481b04521bc95cf21541496e1f0eb5678f6 (patch)
treea2a6d0f54c0e189ffa598c3653331c3d6a907e4a /cpp
parentcleaning up (diff)
downloadice-1a8da481b04521bc95cf21541496e1f0eb5678f6.tar.bz2
ice-1a8da481b04521bc95cf21541496e1f0eb5678f6.tar.xz
ice-1a8da481b04521bc95cf21541496e1f0eb5678f6.zip
shutdown fix
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/Ice/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index 402d89867fc..66187162a4a 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -1176,7 +1176,7 @@ IceInternal::Connection::finished(const ThreadPoolPtr& threadPool)
{
registerWithPool();
}
- else if(_state == StateClosed)
+ else if(_state == StateClosed && _transceiver)
{
_transceiver->close();
_transceiver = 0;