mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-11-05 15:20:07 +00:00
Fixed table iteration bug, added vm.globals to debug lib
This commit is contained in:
@@ -235,7 +235,7 @@ void markRoots(CState *state) {
|
||||
markObject(state, (CObj*)upvalue);
|
||||
}
|
||||
|
||||
markTable(state, &state->globals);
|
||||
markObject(state, (CObj*)state->globals);
|
||||
|
||||
// mark all internal strings
|
||||
for (int i = 0; i < ISTRING_MAX; i++)
|
||||
|
||||
Reference in New Issue
Block a user