event/Loop: destroy the UringWake instance in DisableUring()

This commit is contained in:
Max Kellermann 2025-03-10 19:14:09 +01:00
parent 06bc373ace
commit da40483666

@ -159,8 +159,11 @@ EventLoop::EnableUring(unsigned entries, struct io_uring_params &params)
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 *