diff options
Diffstat (limited to 'CSharp/Ivy/IvyProbe/IvyProbe.cs')
-rw-r--r-- | CSharp/Ivy/IvyProbe/IvyProbe.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs index c491d4e..7bb5f07 100644 --- a/CSharp/Ivy/IvyProbe/IvyProbe.cs +++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs @@ -135,8 +135,13 @@ namespace IvyProbe private void busDomain_DomainChanged(object sender, EventArgs e)
{
- // bus.stop();
+ bus.stop();
bus.start(busDomain.Domain);
}
+
+ private void IvyProbe_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ bus.stop();
+ }
}
}
\ No newline at end of file |