summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:46:03 +0000
committerfcolin2007-02-01 09:46:03 +0000
commit6c464935408e2e56de1338300bfd10044977ea9a (patch)
tree6e8ce85bbb8156b829a5dac11f7a55054dbf9271 /CSharp/Ivy
parent6cc024d6f6e4782bc3f1c0b9e0db442509579ea7 (diff)
downloadivy-csharp-6c464935408e2e56de1338300bfd10044977ea9a.zip
ivy-csharp-6c464935408e2e56de1338300bfd10044977ea9a.tar.gz
ivy-csharp-6c464935408e2e56de1338300bfd10044977ea9a.tar.bz2
ivy-csharp-6c464935408e2e56de1338300bfd10044977ea9a.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')
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index c7da855..9757d2f 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/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: