From bacfa6de951db15d5e5b418d98c1dca9e6d25151 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 6 Dec 2018 19:04:31 -0800 Subject: [PATCH] ircd::ctx: Assert interruption points aren't useless calls. --- ircd/ctx.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ircd/ctx.cc b/ircd/ctx.cc index efb6bffce..1432ec573 100644 --- a/ircd/ctx.cc +++ b/ircd/ctx.cc @@ -630,6 +630,7 @@ noexcept void ircd::ctx::this_ctx::interruption_point() { + assert(interruptible()); return cur().interruption_point(); }