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

View File

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