diff options
author | fcolin | 2007-02-01 09:57:29 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:57:29 +0000 |
commit | 174ef259b00f3f7eb5b1c46edebad999c8bfdf93 (patch) | |
tree | 8375e62ef9a80968961044cc2def0f5b4dc5f9e6 /CSharp/Ivy/IvyPPC/IvyClient.cs | |
parent | 85095f3e5f7591c400638f7176fbaf39ebe82d88 (diff) | |
download | ivy-csharp-174ef259b00f3f7eb5b1c46edebad999c8bfdf93.zip ivy-csharp-174ef259b00f3f7eb5b1c46edebad999c8bfdf93.tar.gz ivy-csharp-174ef259b00f3f7eb5b1c46edebad999c8bfdf93.tar.bz2 ivy-csharp-174ef259b00f3f7eb5b1c46edebad999c8bfdf93.tar.xz |
Utilisateur : Fcolin Date : 27/06/03 Heure : 18:33 Archivé dans $/EScribe/Ivy Commentaire: force app Exit on Die (vss 4)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-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:
|