From 5225e32aac653f1a8663b661080a9f485c690b93 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Fri, 1 Apr 2016 00:58:50 -0700 Subject: [PATCH] Fix crash on quit on Mac & Windows --- gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui.cpp b/gui.cpp index 78e7df6..80cb999 100644 --- a/gui.cpp +++ b/gui.cpp @@ -299,6 +299,7 @@ void MyFrame::OnQuit( wxCommandEvent &event ) MyFrame::~MyFrame(void) { + m_timer->Stop(); close_port(); }