merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -746,11 +746,15 @@ void wxThreadModule::OnExit()
|
||||
if (gs_pCritsectGui)
|
||||
{
|
||||
gs_pCritsectGui->Leave();
|
||||
#if (!(defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )))
|
||||
delete gs_pCritsectGui;
|
||||
#endif
|
||||
gs_pCritsectGui = NULL;
|
||||
}
|
||||
|
||||
#if (!(defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )))
|
||||
wxDELETE(gs_pCritsectWaitingForGui);
|
||||
#endif
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user