From 23016fddfc63926e4fe4d53b989c521f82f8b397 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 11 Jan 1999 22:15:03 +0000 Subject: [PATCH] Fixed stupid crash-on-exit bug. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/tex2rtf/src/tex2rtf.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index 42ca52a529..d99f913439 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -399,6 +399,7 @@ int MyApp::OnExit() MacroDefs.Clear(); #ifdef __WXMSW__ delete TheTex2RTFServer; + wxDDECleanUp(); #endif delete HelpInstance; @@ -466,10 +467,6 @@ void MyFrame::OnCloseWindow(wxCloseEvent& event) } else if (OkToClose) { -#ifdef __WXMSW__ - delete TheTex2RTFServer; - wxDDECleanUp(); -#endif this->Destroy(); } } -- 2.50.0