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 5236700 commit a277130Copy full SHA for a277130
1 file changed
Programs/_testembed.c
@@ -2365,6 +2365,9 @@ test_thread_state_ensure(void)
2365
PyInterpreterRef_Close(ref);
2366
return -1;
2367
}
2368
+ // We hold a strong interpreter reference, so we don't
2369
+ // have to worry about the interpreter shutting down before
2370
+ // we finalize.
2371
Py_Finalize();
2372
assert(data.done == 1);
2373
return 0;
0 commit comments