From caf901f04810ea0e3bf045a0e03153a1fc09a048 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:11:00 +0000 Subject: Utilisateur : Fcolin Date : 23/01/04 Heure : 16:30 Archivé dans $/Bus/IvyProbe Commentaire: (vss 18) --- Bus/IvyProbe/IvyProbeDlg.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Bus/IvyProbe') 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(); } -- cgit v1.1