fixed compile bug for when threads are turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -223,11 +223,13 @@ PyObject* __wxStart(PyObject* /* self */, PyObject* args)
|
||||
|
||||
void __wxCleanup() {
|
||||
wxEntryCleanup();
|
||||
#ifdef WXP_WITH_THREAD
|
||||
delete wxPyTMutex;
|
||||
wxPyTMutex = NULL;
|
||||
wxPyTStates->Empty();
|
||||
delete wxPyTStates;
|
||||
wxPyTStates = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user