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.
_testembed
1 parent 9620f69 commit f9ffca3Copy full SHA for f9ffca3
1 file changed
Programs/_testembed.c
@@ -2715,8 +2715,8 @@ do_tstate_ensure(void *arg)
2715
PyThreadState_Release(tokens[2]);
2716
PyThreadState_Release(tokens[1]);
2717
PyThreadState_Release(tokens[0]);
2718
- PyInterpreterGuard_Close(guard);
2719
_Py_atomic_store_int(&data->done, 1);
+ PyInterpreterGuard_Close(guard);
2720
}
2721
2722
static int
0 commit comments