From ba7ad88d7a89baff6cc5a3e3c22b4814c8464383 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 29 Dec 2018 20:15:24 -0800 Subject: [PATCH] ircd::aio: Additional assertion. --- ircd/aio.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ircd/aio.cc b/ircd/aio.cc index e59eacfa0..cad032a02 100644 --- a/ircd/aio.cc +++ b/ircd/aio.cc @@ -613,6 +613,7 @@ try in_flight += submitted; qcount -= submitted; + assert(!qcount); return submitted; } catch(const std::system_error &e)