0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 20:28:52 +02: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;