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 a8ddc9a commit f5fbb1eCopy full SHA for f5fbb1e
1 file changed
Programs/_testembed.c
@@ -2710,8 +2710,8 @@ do_tstate_ensure(void *arg)
2710
PyThreadState_Release(tokens[2]);
2711
PyThreadState_Release(tokens[1]);
2712
PyThreadState_Release(tokens[0]);
2713
- PyInterpreterGuard_Close(guard);
2714
_Py_atomic_store_int(&data->done, 1);
+ PyInterpreterGuard_Close(guard);
2715
}
2716
2717
static int
0 commit comments