summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/session/SessionFactoryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/session/SessionFactoryI.cpp')
-rwxr-xr-xcpp/demo/Ice/session/SessionFactoryI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/demo/Ice/session/SessionFactoryI.cpp b/cpp/demo/Ice/session/SessionFactoryI.cpp
index ed111333b93..13bd2f94c5d 100755
--- a/cpp/demo/Ice/session/SessionFactoryI.cpp
+++ b/cpp/demo/Ice/session/SessionFactoryI.cpp
@@ -117,6 +117,7 @@ SessionFactoryI::destroy()
{
Lock sync(*this);
+ // XXX When _reapThread is out of this class, simply place this code after the waitForShutdown().
_reapThread->terminate();
_reapThread->getThreadControl().join();
_reapThread = 0;