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:
parent
0ffb6d6c8e
commit
db58b07ddc
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue