0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02:00

ircd::ctx: Set zero values after base frame unwind.

This commit is contained in:
Jason Volk 2019-08-27 19:02:40 -07:00
parent 0001d11b6c
commit c53a1fa12b

View file

@ -104,6 +104,9 @@ noexcept try
{
mark(prof::event::LEAVE);
adjoindre.notify_all();
stack.max = 0;
stack.at = 0;
notes = 0;
this->yc = nullptr;
ircd::ctx::current = nullptr;
if(flags & context::DETACH && !std::uncaught_exceptions())