We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80fe6a commit 1360d86Copy full SHA for 1360d86
Objects/object.c
@@ -207,7 +207,7 @@ refchain_init(PyInterpreterState *interp)
207
static void
208
refchain_fini(PyInterpreterState *interp)
209
{
210
- if (has_own_refchain(interp)) {
+ if (has_own_refchain(interp) && REFCHAIN(interp) != NULL) {
211
_Py_hashtable_destroy(REFCHAIN(interp));
212
}
213
REFCHAIN(interp) = NULL;
0 commit comments