diff options
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/Ivy/IvyClient.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs index dd03c8a..b71a28c 100644 --- a/CSharp/Ivy/Ivy/IvyClient.cs +++ b/CSharp/Ivy/Ivy/IvyClient.cs @@ -359,11 +359,11 @@ namespace IvyBus override internal void TokenDie(ushort id, string arg)
{
- traceDebug("received die Message from " + appName);
+ traceDebug("received die Message from " + appName + "Raison: "+ arg);
// first, I'm not a first class IvyClient any more
bus.removeClient(this);
// invokes the die applicationListeners
- bool dontkillapp = bus.FireDie(this, id, arg);
+ Ivy.ApplicationExit killapp = bus.FireDie(this, id, arg);
// makes the bus die
bus.stop();
try
@@ -374,7 +374,7 @@ namespace IvyBus {
throw new IvyException(ioe.Message);
}
- if ( !dontkillapp )
+ if (killapp == Ivy.ApplicationExit.FORCE_EXIT)
System.Windows.Forms.Application.Exit();
}
override internal void TokenBye(ushort err, string arg)
|