- attempt to see if this corrects tomreyns compile error: ==6454==ERROR: AddressSanitizer: heap-use-after-free
This commit is contained in:
parent
59be04ab6a
commit
b928bbbb40
|
@ -209,8 +209,8 @@ void BaseThread::setQuitStatus(bool value) {
|
|||
|
||||
bool BaseThread::getQuitStatus() {
|
||||
//bool retval = false;
|
||||
static string mutexOwnerId = CODE_AT_LINE;
|
||||
MutexSafeWrapper safeMutex(mutexQuit,mutexOwnerId);
|
||||
//static string mutexOwnerId = CODE_AT_LINE;
|
||||
MutexSafeWrapper safeMutex(mutexQuit,CODE_AT_LINE);
|
||||
//mutexQuit.setOwnerId(mutexOwnerId);
|
||||
bool retval = quit;
|
||||
safeMutex.ReleaseLock();
|
||||
|
|
Loading…
Reference in New Issue