aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event/Loop.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx
index 6e771d9dc..faf967f21 100644
--- a/src/event/Loop.cxx
+++ b/src/event/Loop.cxx
@@ -33,7 +33,8 @@ EventLoop::EventLoop(Default)
:SocketMonitor(*this),
now_ms(::monotonic_clock_ms()),
quit(false),
- n_events(0)
+ n_events(0),
+ thread(ThreadId::Null())
{
SocketMonitor::Open(wake_fd.Get());
SocketMonitor::Schedule(SocketMonitor::READ);