mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
Update vm.c
This commit is contained in:
parent
6708c85f57
commit
33963d7054
@ -255,6 +255,8 @@ void VM__ctor(VM* self) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void VM__dtor(VM* self) {
|
void VM__dtor(VM* self) {
|
||||||
|
// reset traceinfo
|
||||||
|
py_sys_settrace(NULL, true);
|
||||||
// destroy all objects
|
// destroy all objects
|
||||||
ManagedHeap__dtor(&self->heap);
|
ManagedHeap__dtor(&self->heap);
|
||||||
// clear frames
|
// clear frames
|
||||||
|
Loading…
x
Reference in New Issue
Block a user