event/Loop: add more assertions to dtor
This commit is contained in:
parent
e286702f4c
commit
5f2797e7cc
@ -67,7 +67,11 @@ EventLoop::EventLoop(
|
|||||||
EventLoop::~EventLoop() noexcept
|
EventLoop::~EventLoop() noexcept
|
||||||
{
|
{
|
||||||
assert(timers.empty());
|
assert(timers.empty());
|
||||||
|
assert(defer.empty());
|
||||||
assert(idle.empty());
|
assert(idle.empty());
|
||||||
|
#ifdef HAVE_THREADED_EVENT_LOOP
|
||||||
|
assert(inject.empty());
|
||||||
|
#endif
|
||||||
assert(sockets.empty());
|
assert(sockets.empty());
|
||||||
assert(ready_sockets.empty());
|
assert(ready_sockets.empty());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user