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