diff options
author | Jose <jose@zeroc.com> | 2020-04-30 20:19:35 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2020-04-30 20:19:35 +0200 |
commit | 134f5a8572a78e70e853ce6f631360b0676a348f (patch) | |
tree | 4ef983eb83b82cc16d19e02868b7e466b021944b /csharp | |
parent | Unhandled CommunicatorDestroyedException - See # 744 (diff) | |
download | ice-134f5a8572a78e70e853ce6f631360b0676a348f.tar.bz2 ice-134f5a8572a78e70e853ce6f631360b0676a348f.tar.xz ice-134f5a8572a78e70e853ce6f631360b0676a348f.zip |
Fix build failured, introduce in previous commit
Diffstat (limited to 'csharp')
-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 b55107fb629..b6e0e20c751 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 = null; try { - Ice.RouterFinderPrx finder = - Ice.RouterFinderPrxHelper.uncheckedCast(_communicator.stringToProxy(_finderStr)); + finder = Ice.RouterFinderPrxHelper.uncheckedCast(_communicator.stringToProxy(_finderStr)); _communicator.setDefaultRouter(finder.getRouter()); } catch(Ice.CommunicatorDestroyedException ex) |