]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/snglinst.tex
added wxMessageQueue class for inter-thread communications
[wxWidgets.git] / docs / latex / wx / snglinst.tex
index 16544113cb9a76c52aa4c3ee343213c4dc81ca43..3cae29f16820b90b6eb46f34c6071134fa028c8e 100644 (file)
@@ -30,6 +30,9 @@ bool MyApp::OnInit()
     {
         wxLogError(_("Another program instance is already running, aborting."));
 
+        delete m_checker; // OnExit() won't be called if we return false
+        m_checker = NULL;
+
         return false;
     }