diff options
Diffstat (limited to 'src/common/logging/backend.cpp')
| -rw-r--r-- | src/common/logging/backend.cpp | 3 |
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: | |||
| 83 | backend->Write(e); | 83 | backend->Write(e); |
| 84 | } | 84 | } |
| 85 | }; | 85 | }; |
| 86 | while (message_queue.PopWait(entry)) { | 86 | while (true) { |
| 87 | entry = message_queue.PopWait(); | ||
| 87 | if (entry.final_entry) { | 88 | if (entry.final_entry) { |
| 88 | break; | 89 | break; |
| 89 | } | 90 | } |