]> git.saurik.com Git - wxWidgets.git/commitdiff
Now does cleanup when returning false from OnInit
authorJulian Smart <julian@anthemion.co.uk>
Wed, 17 Mar 2004 08:13:21 +0000 (08:13 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 17 Mar 2004 08:13:21 +0000 (08:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/tex2rtf/src/tex2rtf.cpp

index 14a8974018c3d6e69dbfbfa89caae86a7cdfaa24..86074e2fd04f6951aa903ade7c05c1a642f78579 100644 (file)
@@ -419,6 +419,7 @@ bool MyApp::OnInit()
 #ifdef NO_GUI
     return true;
 #else
+    OnExit(); // Do cleanup since OnExit won't be called now
     return false;
 #endif
   }