* Thread updates and cleanup (m_locked, MUTEX_UNLOCKED added)
* Updated the documentation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@94 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,6 +61,8 @@ wxMutex::wxMutex()
|
||||
|
||||
wxMutex::~wxMutex()
|
||||
{
|
||||
if (m_locked > 0)
|
||||
wxDebugMsg("wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked);
|
||||
CloseHandle(p_internal->p_mutex);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user