mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 08:54:02 +01:00
ircd::ctx: Set the SELF_DESTRUCT flag on context::detach().
This commit is contained in:
parent
a8736e2198
commit
859f464698
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ ircd::ctx::context::join()
|
||||||
ircd::ctx::ctx *
|
ircd::ctx::ctx *
|
||||||
ircd::ctx::context::detach()
|
ircd::ctx::context::detach()
|
||||||
{
|
{
|
||||||
|
c->flags |= SELF_DESTRUCT;
|
||||||
return c.release();
|
return c.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue