summaryrefslogtreecommitdiff
path: root/IvyProbe
diff options
context:
space:
mode:
Diffstat (limited to 'IvyProbe')
-rw-r--r--IvyProbe/IvyProbeDlg.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/IvyProbe/IvyProbeDlg.cpp b/IvyProbe/IvyProbeDlg.cpp
index b782aa7..d64c616 100644
--- a/IvyProbe/IvyProbeDlg.cpp
+++ b/IvyProbe/IvyProbeDlg.cpp
@@ -248,8 +248,12 @@ void CIvyProbeDlg::WriteMessage(const char *format, ...)
void CIvyProbeDlg::OnClose()
{
// TODO: Add your message handler code here and/or call default
- TRACE ( TEXT("Quitting\n"));
- if (bus) delete bus;
+ TRACE ( TEXT("IvyProbe Quitting\n"));
+ if (bus)
+ {
+ bus->stop();
+ delete bus;
+ }
MyDialog::OnClose();
}