mirror of
https://github.com/urbit/shrub.git
synced 2024-12-16 23:04:16 +03:00
Horrible hack to prevent lin from getting GCed
Fixes the daemon mode noun leak, sort of, if you squint at it. Better solution soon to come.
This commit is contained in:
parent
eff8a1ba45
commit
f9a65caf9e
7
v/loop.c
7
v/loop.c
@ -1914,6 +1914,13 @@ _lo_mark()
|
||||
siz_w = u2_cm_mark_internal();
|
||||
siz_w += _lo_mark_reck(u2_Host.arv_u);
|
||||
|
||||
// XX get rid of this
|
||||
if ( u2_yes == u2_Host.ops_u.dem &&
|
||||
NULL != u2_Host.uty_u &&
|
||||
u2_nul != u2_Host.uty_u->lin ) {
|
||||
siz_w += u2_cm_mark_noun(u2_Host.uty_u->lin);
|
||||
}
|
||||
|
||||
return siz_w;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user