event/Loop: move quit_injected check to inside `#ifdef HAVE_THREADED_EVENT_LOOP`

This commit is contained in:
Max Kellermann 2023-03-20 15:02:30 +01:00
parent 102dc123e8
commit a20d467bf1
1 changed files with 1 additions and 1 deletions

View File

@ -276,8 +276,8 @@ EventLoop::Run() noexcept
assert(IsInside());
assert(!quit);
assert(!quit_injected);
#ifdef HAVE_THREADED_EVENT_LOOP
assert(!quit_injected);
assert(alive);
assert(busy);