event/Loop: cancel the WakeFD monitor in destructor
This commit is contained in:
parent
f39a34ccfa
commit
582c2105a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user