summaryrefslogtreecommitdiff
path: root/Bus/IvyProbe/IvyProbeDlg.cpp
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:11:00 +0000
committerfcolin2007-02-01 13:11:00 +0000
commitcaf901f04810ea0e3bf045a0e03153a1fc09a048 (patch)
treefc4041a8ee3705fc5ca38f318898d3bde0eede66 /Bus/IvyProbe/IvyProbeDlg.cpp
parentc92e7febca38457a2a78ed40a64e0ffcb1b6f8ad (diff)
downloadivy-cplusplus-caf901f04810ea0e3bf045a0e03153a1fc09a048.zip
ivy-cplusplus-caf901f04810ea0e3bf045a0e03153a1fc09a048.tar.gz
ivy-cplusplus-caf901f04810ea0e3bf045a0e03153a1fc09a048.tar.bz2
ivy-cplusplus-caf901f04810ea0e3bf045a0e03153a1fc09a048.tar.xz
Utilisateur : Fcolin Date : 23/01/04 Heure : 16:30 Archivé dans $/Bus/IvyProbe Commentaire: (vss 18)
Diffstat (limited to 'Bus/IvyProbe/IvyProbeDlg.cpp')
-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();
}