mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 21:58:48 +01:00
fix unmarked compiler value causing memory issues
https://github.com/wren-lang/wren/issues/869
This commit is contained in:
@ -3638,6 +3638,7 @@ void wrenMarkCompiler(WrenVM* vm, Compiler* compiler)
|
||||
{
|
||||
wrenGrayValue(vm, compiler->parser->current.value);
|
||||
wrenGrayValue(vm, compiler->parser->previous.value);
|
||||
wrenGrayValue(vm, compiler->parser->next.value);
|
||||
|
||||
// Walk up the parent chain to mark the outer compilers too. The VM only
|
||||
// tracks the innermost one.
|
||||
|
||||
Reference in New Issue
Block a user