mirror of
https://github.com/glest/glest-source.git
synced 2025-02-23 03:02:34 +01:00
- 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…
x
Reference in New Issue
Block a user