From: Vadim Zeitlin Date: Thu, 17 Jul 2003 21:54:14 +0000 (+0000) Subject: set richedit DLL handle to 0 after unloading (patch 768994) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8c74e477ed7ad31ee01262794af9a1265539b6b6?ds=inline set richedit DLL handle to 0 after unloading (patch 768994) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index a3a6dd5bb8..81fce2b330 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -2234,6 +2234,7 @@ void wxRichEditModule::OnExit() if ( ms_hRichEdit[i] ) { ::FreeLibrary(ms_hRichEdit[i]); + ms_hRichEdit[i] = NULL; } } }