Kaydet (Commit) ed8f7831 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Clear dummy and emptyfrozenset, so that we don't have

dangling references in case of a Py_Initialize/Py_Finalize
cycle.
üst 841747cb
......@@ -978,8 +978,8 @@ PySet_Fini(void)
so = free_sets[num_free_sets];
PyObject_GC_Del(so);
}
Py_XDECREF(dummy);
Py_XDECREF(emptyfrozenset);
Py_CLEAR(dummy);
Py_CLEAR(emptyfrozenset);
}
static PyObject *
......
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