This commit is contained in:
2026-05-09 14:23:01 -05:00
parent 6762c49ed3
commit 85443ded9d

View File

@@ -246,6 +246,8 @@ function Heap:call_gc(roots)
for _,v in ipairs(roots) do -- TODO - recursive, add support to array for _,v in ipairs(roots) do -- TODO - recursive, add support to array
if v.type == 'string' and v.ref then if v.type == 'string' and v.ref then
marked[v.ref] = true marked[v.ref] = true
else
error("Can't handle this type on GC")
end end
end end