From a20d467bf1c12af4a77e2b95f2cd3e6c40cbecc1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Mar 2023 15:02:30 +0100 Subject: [PATCH] event/Loop: move quit_injected check to inside `#ifdef HAVE_THREADED_EVENT_LOOP` --- src/event/Loop.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx index d673b558a..a5e54c98c 100644 --- a/src/event/Loop.cxx +++ b/src/event/Loop.cxx @@ -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);