summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:43:51 +0000
committerfcolin2007-02-01 09:43:51 +0000
commit5e379b5c54da240c0e80b9daee8290654628cff5 (patch)
tree78d52734bf6c4f1ce7f04c0351524e13bf7d4ea3 /CSharp
parent4db90a5d2b557a6d6e1b227194795de942ee8d7c (diff)
downloadivy-csharp-5e379b5c54da240c0e80b9daee8290654628cff5.zip
ivy-csharp-5e379b5c54da240c0e80b9daee8290654628cff5.tar.gz
ivy-csharp-5e379b5c54da240c0e80b9daee8290654628cff5.tar.bz2
ivy-csharp-5e379b5c54da240c0e80b9daee8290654628cff5.tar.xz
Utilisateur : Fcolin Date : 10/02/06 Heure : 10:24 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 57)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/Ivy/Ivy.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/CSharp/Ivy/Ivy/Ivy.cs b/CSharp/Ivy/Ivy/Ivy.cs
index 3a7a20d..2255cbc 100644
--- a/CSharp/Ivy/Ivy/Ivy.cs
+++ b/CSharp/Ivy/Ivy/Ivy.cs
@@ -351,7 +351,7 @@ namespace IvyBus
/// <example> This sample shows how to start working with Ivy.
/// <code>
/// Ivy bus = new Ivy("Dummy agent","ready");
- /// bus.bindMsg("(.*)",new Ivy.MessageHandler(myMessageListener));
+ /// bus.bindMsg("(.*)",myMessageListener);
/// bus.start(null);
/// </code>
/// 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)
{