From 7dd4c1442fe959df963e7ad0daec6aa7a2cb53de Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:58:39 +0000 Subject: 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) --- CSharp/Ivy/IvyPPC/IvyClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs index dd03c8a..b71a28c 100644 --- a/CSharp/Ivy/IvyPPC/IvyClient.cs +++ b/CSharp/Ivy/IvyPPC/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) -- cgit v1.1