Allow for multiple CHM controllers in app (don't leak dynamic libs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,9 +80,8 @@ static void UnloadHtmlHelpLibrary()
|
|||||||
{
|
{
|
||||||
if ( gs_htmlHelp )
|
if ( gs_htmlHelp )
|
||||||
{
|
{
|
||||||
wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") );
|
if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
|
||||||
|
gs_htmlHelp = 0;
|
||||||
gs_htmlHelp = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user