diff options
author | fcolin | 2007-02-01 09:47:13 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:47:13 +0000 |
commit | baee048da62039903cdcd640cfde4adb1a3d14bb (patch) | |
tree | 665cb73bbf55ade25d06f0e38503ce7acc027d8a /CSharp | |
parent | 0fdf81eb300d1625a133ddbc08ce19e194ae8617 (diff) | |
download | ivy-csharp-baee048da62039903cdcd640cfde4adb1a3d14bb.zip ivy-csharp-baee048da62039903cdcd640cfde4adb1a3d14bb.tar.gz ivy-csharp-baee048da62039903cdcd640cfde4adb1a3d14bb.tar.bz2 ivy-csharp-baee048da62039903cdcd640cfde4adb1a3d14bb.tar.xz |
Utilisateur : Fcolin Date : 8/02/06 Heure : 15:42 Archivé dans $/CSharp/Ivy/IvyPPC Commentaire: mise au propre de la valeur de retour de Die (vss 39)
Diffstat (limited to 'CSharp')
-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)
|