summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyClient.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:58:39 +0000
committerfcolin2007-02-01 09:58:39 +0000
commit7dd4c1442fe959df963e7ad0daec6aa7a2cb53de (patch)
tree3e8a894e802d7e9d44b585fe6636c04259ca4c5e /CSharp/Ivy/IvyPPC/IvyClient.cs
parente9b1e61a4598cc940552f0f5fbbc0b3ab658e056 (diff)
downloadivy-csharp-7dd4c1442fe959df963e7ad0daec6aa7a2cb53de.zip
ivy-csharp-7dd4c1442fe959df963e7ad0daec6aa7a2cb53de.tar.gz
ivy-csharp-7dd4c1442fe959df963e7ad0daec6aa7a2cb53de.tar.bz2
ivy-csharp-7dd4c1442fe959df963e7ad0daec6aa7a2cb53de.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/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs6
1 files changed, 3 insertions, 3 deletions
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)