summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Instance.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-07-06 14:40:47 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-07-06 14:40:47 +0000
commite5f2af7fd12093ebae5ac5305f6ec3a43236b7cc (patch)
tree7d8d0ac6f16e19ecb09f26c10fa0665185a59c0a /cppe/src/IceE/Instance.cpp
parentBenoit's change wrt packet size (diff)
downloadice-e5f2af7fd12093ebae5ac5305f6ec3a43236b7cc.tar.bz2
ice-e5f2af7fd12093ebae5ac5305f6ec3a43236b7cc.tar.xz
ice-e5f2af7fd12093ebae5ac5305f6ec3a43236b7cc.zip
fix shutdown bug. Fix bug with building IceE client side library with
router support enabled.
Diffstat (limited to 'cppe/src/IceE/Instance.cpp')
-rw-r--r--cppe/src/IceE/Instance.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cppe/src/IceE/Instance.cpp b/cppe/src/IceE/Instance.cpp
index 0c9dcb8810a..5b54939578a 100644
--- a/cppe/src/IceE/Instance.cpp
+++ b/cppe/src/IceE/Instance.cpp
@@ -558,6 +558,12 @@ IceInternal::Instance::destroy()
{
_outgoingConnectionFactory->waitUntilFinished();
}
+#else
+ if(_outgoingConnectionFactory)
+ {
+ _outgoingConnectionFactory->destroy();
+ _outgoingConnectionFactory->waitUntilFinished();
+ }
#endif
{