blueloveTH 1 éve
szülő
commit
33963d7054
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      src/interpreter/vm.c

+ 2 - 0
src/interpreter/vm.c

@@ -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