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() {
|
void __wxCleanup() {
|
||||||
wxEntryCleanup();
|
wxEntryCleanup();
|
||||||
|
#ifdef WXP_WITH_THREAD
|
||||||
delete wxPyTMutex;
|
delete wxPyTMutex;
|
||||||
wxPyTMutex = NULL;
|
wxPyTMutex = NULL;
|
||||||
wxPyTStates->Empty();
|
wxPyTStates->Empty();
|
||||||
delete wxPyTStates;
|
delete wxPyTStates;
|
||||||
wxPyTStates = NULL;
|
wxPyTStates = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user