aboutsummaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.h')
-rw-r--r--src/Log.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Log.h b/src/Log.h
index 0e09bc9..df6e07b 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -138,10 +138,7 @@ class Logger {
Logger(const Logger& other) = delete;
const Logger& operator=(const Logger& other) = delete;
~Logger() {
- // Special message to stop the thread
- log_message_t m(trace, "");
-
- m_message_queue.push(m);
+ m_message_queue.trigger_wakeup();
m_io_thread.join();
}