diff --git a/ircd/ios.cc b/ircd/ios.cc index c71f5a5ba..bdb4c6bda 100644 --- a/ircd/ios.cc +++ b/ircd/ios.cc @@ -210,6 +210,9 @@ ircd::ios::handler::fault(handler *const &handler) { stats.slice_last = cycles() - handler->slice_start; stats.slice_total += stats.slice_last; + + assert(handler::current == handler); + handler::current = nullptr; } return ret;