event/Loop: destroy the UringWake instance in DisableUring()
This commit is contained in:
parent
06bc373ace
commit
da40483666
@ -159,8 +159,11 @@ EventLoop::EnableUring(unsigned entries, struct io_uring_params ¶ms)
|
||||
void
|
||||
EventLoop::DisableUring() noexcept
|
||||
{
|
||||
uring_poll.reset();
|
||||
uring.reset();
|
||||
#if defined(HAVE_THREADED_EVENT_LOOP) && defined(USE_EVENTFD)
|
||||
uring_wake.reset();
|
||||
#endif
|
||||
uring_poll.reset();
|
||||
}
|
||||
|
||||
Uring::Queue *
|
||||
|
Loading…
x
Reference in New Issue
Block a user