summaryrefslogtreecommitdiffstats
path: root/src/common/logging/backend.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/logging/backend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 276e49f86..b369f199f 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -83,7 +83,8 @@ private:
backend->Write(e);
}
};
- while (message_queue.PopWait(entry)) {
+ while (true) {
+ entry = message_queue.PopWait();
if (entry.final_entry) {
break;
}