mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
fix a bug
This commit is contained in:
parent
cd81927380
commit
0f08c1a721
@ -76,7 +76,7 @@ bool ModuleDict__contains(ModuleDict* self, const char* path) {
|
||||
}
|
||||
|
||||
void ModuleDict__apply_mark(ModuleDict *self) {
|
||||
PyObject__mark(self->module._obj);
|
||||
if(!self->module._obj->gc_marked) PyObject__mark(self->module._obj);
|
||||
if(self->left) ModuleDict__apply_mark(self->left);
|
||||
if(self->right) ModuleDict__apply_mark(self->right);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user