summaryrefslogtreecommitdiff
path: root/Bus
diff options
context:
space:
mode:
Diffstat (limited to 'Bus')
-rw-r--r--Bus/IvyProbe/IvyProbeDlg.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Bus/IvyProbe/IvyProbeDlg.cpp b/Bus/IvyProbe/IvyProbeDlg.cpp
index b782aa7..d64c616 100644
--- a/Bus/IvyProbe/IvyProbeDlg.cpp
+++ b/Bus/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();
}