Update vm.c

This commit is contained in:
blueloveTH 2025-05-26 20:03:18 +08:00
parent 6708c85f57
commit 33963d7054

View File

@ -255,6 +255,8 @@ void VM__ctor(VM* self) {
}
void VM__dtor(VM* self) {
// reset traceinfo
py_sys_settrace(NULL, true);
// destroy all objects
ManagedHeap__dtor(&self->heap);
// clear frames