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.cpp26
1 files changed, 3 insertions, 23 deletions
diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp
index 0e52daeba47..9048320f801 100644
--- a/cpp/src/Glacier2Lib/SessionHelper.cpp
+++ b/cpp/src/Glacier2Lib/SessionHelper.cpp
@@ -459,14 +459,7 @@ SessionHelperI::destroyInternal(const Ice::DispatcherCallPtr& disconnected)
if(communicator)
{
- try
- {
- communicator->destroy();
- }
- catch(...)
- {
- }
- communicator = ICE_NULLPTR;
+ communicator->destroy();
}
dispatchCallback(disconnected, ICE_NULLPTR);
}
@@ -482,14 +475,7 @@ SessionHelperI::destroyCommunicator()
if(communicator)
{
- try
- {
- communicator->destroy();
- }
- catch(...)
- {
- }
- communicator = ICE_NULLPTR;
+ communicator->destroy();
}
}
@@ -504,13 +490,7 @@ SessionHelperI::connectFailed()
if(communicator)
{
- try
- {
- communicator->destroy();
- }
- catch(...)
- {
- }
+ communicator->destroy();
}
}