mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
ircd::ctx: Mark the profiling leave time directly after the user finishes.
This commit is contained in:
parent
ad47435876
commit
31dd925b17
1 changed files with 2 additions and 1 deletions
|
@ -103,10 +103,11 @@ noexcept
|
|||
|
||||
const scope atexit([this]
|
||||
{
|
||||
mark(prof::event::CUR_LEAVE);
|
||||
|
||||
if(adjoindre)
|
||||
notify(*adjoindre);
|
||||
|
||||
mark(prof::event::CUR_LEAVE);
|
||||
ircd::ctx::current = nullptr;
|
||||
this->yc = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue