0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd::ios: Ensure current handle pointer is nulled on fault exit point as well.

This commit is contained in:
Jason Volk 2019-03-30 13:11:55 -07:00
parent 0ffb6d6c8e
commit db58b07ddc

View file

@ -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;