0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::ctx: Mark the profiling leave time directly after the user finishes.

This commit is contained in:
Jason Volk 2017-03-24 15:45:35 -07:00
parent ad47435876
commit 31dd925b17

View file

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