diff options
Diffstat (limited to 'csharp/src')
-rw-r--r-- | csharp/src/Glacier2/SessionHelper.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/csharp/src/Glacier2/SessionHelper.cs b/csharp/src/Glacier2/SessionHelper.cs index d1f60742c74..ec7b026e2af 100644 --- a/csharp/src/Glacier2/SessionHelper.cs +++ b/csharp/src/Glacier2/SessionHelper.cs @@ -448,6 +448,14 @@ public class SessionHelper { _communicator.setDefaultRouter(finder.getRouter()); } + catch(Ice.CommunicatorDestroyedException ex) + { + dispatchCallback(() => + { + _callback.connectFailed(this, ex); + }, null); + return; + } catch(Exception) { // |