event/Loop: cancel the WakeFD monitor in destructor
This commit is contained in:
		@@ -42,6 +42,10 @@ EventLoop::~EventLoop()
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	assert(idle.empty());
 | 
						assert(idle.empty());
 | 
				
			||||||
	assert(timers.empty());
 | 
						assert(timers.empty());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/* this is necessary to get a well-defined destruction
 | 
				
			||||||
 | 
						   order */
 | 
				
			||||||
 | 
						SocketMonitor::Cancel();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user