From d7927311f0aec6d54332fef191be6f0d484ea259 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:55:50 +0000 Subject: Utilisateur : Fcolin Date : 10/02/06 Heure : 10:24 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 57) --- CSharp/Ivy/IvyPPC/Ivy.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'CSharp/Ivy/IvyPPC/Ivy.cs') diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs index 3a7a20d..2255cbc 100644 --- a/CSharp/Ivy/IvyPPC/Ivy.cs +++ b/CSharp/Ivy/IvyPPC/Ivy.cs @@ -351,7 +351,7 @@ namespace IvyBus /// This sample shows how to start working with Ivy. /// /// Ivy bus = new Ivy("Dummy agent","ready"); - /// bus.bindMsg("(.*)",new Ivy.MessageHandler(myMessageListener)); + /// bus.bindMsg("(.*)",myMessageListener); /// bus.start(null); /// /// How to send & receive: @@ -384,7 +384,14 @@ namespace IvyBus { syncControl = sync; } - + protected override void Dispose(bool disposing) + { + if (disposing) + { + stop(); + } + base.Dispose(disposing); + } // Autobinding on static method public void AutoBinding(Type type) { -- cgit v1.1