mirror of
https://github.com/matrix-construct/construct
synced 2025-03-13 21:10:32 +01:00
ircd::ctx: Set context to NOINTERRUPT rather than clearing TERMINATED like an INTERRUPTED.
This commit is contained in:
parent
7471bf54f4
commit
98cb7693f3
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ ircd::ctx::ctx::termination_point(std::nothrow_t)
|
|||
if(flags & context::NOINTERRUPT)
|
||||
return false;
|
||||
|
||||
flags |= context::NOINTERRUPT;
|
||||
mark(prof::event::CUR_TERMINATE);
|
||||
assert(flags & ~context::NOINTERRUPT);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue