1
0
Fork 0

fix race on Logger shutdown (#6638)

This commit is contained in:
Jan 2018-09-27 19:29:44 +02:00 committed by Frank Celler
parent a2e650799c
commit aa137f18eb
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ void LogThread::run() {
}
while (_messages.pop(msg)) {
try {
LogAppender::log(msg);
} catch (...) {
}
delete msg;
}
}