fix: mutex pointer reset in Destroy method
Corrects the pointer reset in CAsyncSQL::Destroy by setting m_mtxResult to NULL instead of m_mtxQuery after deleting m_mtxResult.
This commit is contained in:
@@ -68,7 +68,7 @@ void CAsyncSQL::Destroy()
|
||||
::DeleteCriticalSection(m_mtxResult);
|
||||
#endif
|
||||
delete m_mtxResult;
|
||||
m_mtxQuery = NULL;
|
||||
m_mtxResult = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user