diff options
Diffstat (limited to 'CSharp')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyClient.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs index c7da855..9757d2f 100644 --- a/CSharp/Ivy/IvyPPC/IvyClient.cs +++ b/CSharp/Ivy/IvyPPC/IvyClient.cs @@ -430,7 +430,7 @@ namespace IvyBus // first, I'm not a first class IvyClient any more
bus.removeClient(this);
// invokes the die applicationListeners
- bus.FireDie(this, msgId);
+ bool dontkillapp = bus.FireDie(this, msgId);
// makes the bus die
bus.stop();
try
@@ -441,6 +441,8 @@ namespace IvyBus {
throw new IvyException(ioe.Message);
}
+ if ( !dontkillapp )
+ Environment.Exit( -1 );
break;
case MessageType.Bye:
|