Must unlock mutex before destructor as we do some logging in the mutex destructor when we destroy it while locked.
This commit is contained in:
parent
22adb243ec
commit
70ed4a4646
|
@ -572,6 +572,7 @@ void Logger::logPrint( bool hex, const char * const filepath, const int line, co
|
||||||
|
|
||||||
free(filecopy);
|
free(filecopy);
|
||||||
if ( level <= FATAL ) {
|
if ( level <= FATAL ) {
|
||||||
|
log_mutex.unlock();
|
||||||
logTerm();
|
logTerm();
|
||||||
zmDbClose();
|
zmDbClose();
|
||||||
if ( level <= PANIC )
|
if ( level <= PANIC )
|
||||||
|
|
Loading…
Reference in New Issue