Commit 582c2105 authored by Max Kellermann's avatar Max Kellermann

event/Loop: cancel the WakeFD monitor in destructor

parent f39a34cc
......@@ -42,6 +42,10 @@ EventLoop::~EventLoop()
{
assert(idle.empty());
assert(timers.empty());
/* this is necessary to get a well-defined destruction
order */
SocketMonitor::Cancel();
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment