Commit f3ead53e authored by Kevin Modzelewski's avatar Kevin Modzelewski

Have to visit the tp_dict object if we create one.

parent da9f8db9
...@@ -285,6 +285,8 @@ extern "C" void typeGCHandler(GCVisitor* v, Box* b) { ...@@ -285,6 +285,8 @@ extern "C" void typeGCHandler(GCVisitor* v, Box* b) {
if (cls->base) if (cls->base)
v->visit(cls->base); v->visit(cls->base);
if (cls->tp_dict)
v->visit(cls->tp_dict);
} }
extern "C" void instancemethodGCHandler(GCVisitor* v, Box* b) { extern "C" void instancemethodGCHandler(GCVisitor* v, Box* b) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment