summaryrefslogtreecommitdiff
path: root/cpp/src/Glacier2Lib/SessionHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Glacier2Lib/SessionHelper.cpp')
-rw-r--r--cpp/src/Glacier2Lib/SessionHelper.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp
index 3857289a6c8..68b01fc1cf5 100644
--- a/cpp/src/Glacier2Lib/SessionHelper.cpp
+++ b/cpp/src/Glacier2Lib/SessionHelper.cpp
@@ -864,7 +864,12 @@ Glacier2::SessionFactoryHelper::SessionFactoryHelper(const Ice::PropertiesPtr& p
Glacier2::SessionFactoryHelper::~SessionFactoryHelper()
{
- destroy();
+ IceUtil::Mutex::Lock sync(_mutex);
+ if(!_threads.empty() && Ice::getProcessLogger())
+ {
+ Ice::Warning warn(Ice::getProcessLogger());
+ warn << "Glacier2::SessionFactoryHelper::destroy() has not been called, threads won't be joined";
+ }
}
void