0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::ctx: Set the SELF_DESTRUCT flag on context::detach().

This commit is contained in:
Jason Volk 2016-10-25 22:53:18 -07:00
parent a8736e2198
commit 859f464698

View file

@ -166,6 +166,7 @@ ircd::ctx::context::join()
ircd::ctx::ctx *
ircd::ctx::context::detach()
{
c->flags |= SELF_DESTRUCT;
return c.release();
}