Commit 145872ea authored by Marius Wachtler's avatar Marius Wachtler

Fix threading.local()

The GC did not visit the thread state dict, which made it forget it's entries after a gc collection
parent 075620c7
......@@ -119,6 +119,8 @@ public:
v->visit(pub_state->curexc_value);
if (pub_state->curexc_traceback)
v->visit(pub_state->curexc_traceback);
if (pub_state->dict)
v->visit(pub_state->dict);
for (auto& stack_info : previous_stacks) {
v->visit(stack_info.next_generator);
......
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