diff --git a/include/ircd/ctx/list.h b/include/ircd/ctx/list.h index 71d89d41a..eb76e3759 100644 --- a/include/ircd/ctx/list.h +++ b/include/ircd/ctx/list.h @@ -105,6 +105,7 @@ noexcept this->~list(); std::swap(head, o.head); std::swap(tail, o.tail); + assert(!o.head && !o.tail); return *this; } diff --git a/ircd/server.cc b/ircd/server.cc index a4fde6d23..91ad15428 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -1959,6 +1959,7 @@ noexcept // Must have a fully associated request/tag which has committed some // data to the wire to enter this routine. assert(tag.committed()); + assert(!tag.canceled()); assert(request.tag == &tag); assert(tag.request == &request);