diff options
author | Jose <jose@zeroc.com> | 2020-04-30 19:22:39 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2020-04-30 19:22:39 +0200 |
commit | c5608d38098e61fa0fdba30af818425d2cdcc706 (patch) | |
tree | 849aa5db7626936e14ec7ce51d08daec026b1466 /csharp/src | |
parent | Revert "Update workaround for carthage SEGFAULT" (diff) | |
download | ice-c5608d38098e61fa0fdba30af818425d2cdcc706.tar.bz2 ice-c5608d38098e61fa0fdba30af818425d2cdcc706.tar.xz ice-c5608d38098e61fa0fdba30af818425d2cdcc706.zip |
Unhandled CommunicatorDestroyedException - See # 744
Diffstat (limited to 'csharp/src')
-rw-r--r-- | csharp/src/Glacier2/SessionHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/Glacier2/SessionHelper.cs b/csharp/src/Glacier2/SessionHelper.cs index 033e9fd3739..b55107fb629 100644 --- a/csharp/src/Glacier2/SessionHelper.cs +++ b/csharp/src/Glacier2/SessionHelper.cs @@ -389,10 +389,10 @@ public class SessionHelper if(_communicator.getDefaultRouter() == null) { - Ice.RouterFinderPrx finder = - Ice.RouterFinderPrxHelper.uncheckedCast(_communicator.stringToProxy(_finderStr)); try { + Ice.RouterFinderPrx finder = + Ice.RouterFinderPrxHelper.uncheckedCast(_communicator.stringToProxy(_finderStr)); _communicator.setDefaultRouter(finder.getRouter()); } catch(Ice.CommunicatorDestroyedException ex) |