summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-07-28 13:35:33 -0230
committerDwayne Boone <dwayne@zeroc.com>2015-07-28 13:35:33 -0230
commitdfcf9965f417e81674a70956ab4a9bc968ebd78b (patch)
tree08bb5b3734487e6ef70b3036a6f5c4ef653406d5 /csharp/src
parentAdded test to Glacier2/sessionHelper to test interrupting connection establis... (diff)
downloadice-dfcf9965f417e81674a70956ab4a9bc968ebd78b.tar.bz2
ice-dfcf9965f417e81674a70956ab4a9bc968ebd78b.tar.xz
ice-dfcf9965f417e81674a70956ab4a9bc968ebd78b.zip
ICE-6302 Fixed intermittent sessionHelper test failure
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/Glacier2/SessionHelper.cs8
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)
{
//