summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2020-04-30 19:22:39 +0200
committerJose <jose@zeroc.com>2020-04-30 19:22:39 +0200
commitc5608d38098e61fa0fdba30af818425d2cdcc706 (patch)
tree849aa5db7626936e14ec7ce51d08daec026b1466 /cpp/src
parentRevert "Update workaround for carthage SEGFAULT" (diff)
downloadice-c5608d38098e61fa0fdba30af818425d2cdcc706.tar.bz2
ice-c5608d38098e61fa0fdba30af818425d2cdcc706.tar.xz
ice-c5608d38098e61fa0fdba30af818425d2cdcc706.zip
Unhandled CommunicatorDestroyedException - See # 744
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Glacier2Lib/SessionHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp
index 52079819004..cd11cc19e99 100644
--- a/cpp/src/Glacier2Lib/SessionHelper.cpp
+++ b/cpp/src/Glacier2Lib/SessionHelper.cpp
@@ -583,10 +583,10 @@ public:
{
if(!communicator->getDefaultRouter())
{
- Ice::RouterFinderPrxPtr finder =
- ICE_UNCHECKED_CAST(Ice::RouterFinderPrx, communicator->stringToProxy(_finder));
try
{
+ Ice::RouterFinderPrxPtr finder =
+ ICE_UNCHECKED_CAST(Ice::RouterFinderPrx, communicator->stringToProxy(_finder));
communicator->setDefaultRouter(finder->getRouter());
}
catch(const Ice::CommunicatorDestroyedException& ex)