mirror of https://gitee.com/bigwinds/arangodb
fix race on Logger shutdown (#6638)
This commit is contained in:
parent
a2e650799c
commit
aa137f18eb
|
@ -92,6 +92,10 @@ void LogThread::run() {
|
|||
}
|
||||
|
||||
while (_messages.pop(msg)) {
|
||||
try {
|
||||
LogAppender::log(msg);
|
||||
} catch (...) {
|
||||
}
|
||||
delete msg;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue