mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
...
This commit is contained in:
parent
16d710640a
commit
f45dd8cb2e
@ -997,6 +997,7 @@ void ManagedHeap::mark() {
|
|||||||
for(PyObject* obj: vm->s_data) PK_OBJ_MARK(obj);
|
for(PyObject* obj: vm->s_data) PK_OBJ_MARK(obj);
|
||||||
if(_gc_marker_ex) _gc_marker_ex(vm);
|
if(_gc_marker_ex) _gc_marker_ex(vm);
|
||||||
if(vm->_last_exception) PK_OBJ_MARK(vm->_last_exception);
|
if(vm->_last_exception) PK_OBJ_MARK(vm->_last_exception);
|
||||||
|
if(vm->_c.error != nullptr) PK_OBJ_MARK(vm->_c.error);
|
||||||
}
|
}
|
||||||
|
|
||||||
Str obj_type_name(VM *vm, Type type){
|
Str obj_type_name(VM *vm, Type type){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user