fix vm.collect()

we don't freeze the vm on entry to C functions now
This commit is contained in:
CPunch 2023-08-26 15:03:56 -05:00 committed by cpunch
parent c0893b8a14
commit bfdd33e01d
1 changed files with 5 additions and 0 deletions

View File

@ -878,9 +878,14 @@ int cosmoB_vnewindexBProto(CState *state, int nargs, CValue *args)
// vm.collect()
int cosmoB_vcollect(CState *state, int nargs, CValue *args)
{
<<<<<<< HEAD
// now force a garbage collection
cosmoM_collectGarbage(state);
=======
// force a garbage collection
cosmoM_collectGarbage(state);
>>>>>>> 409937c (fix vm.collect())
return 0;
}