Skip to content

Commit 3e24b32

Browse files
committed
fix ident mutex issue
1 parent 96ebb20 commit 3e24b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,7 @@ thread_shutdown(PyObject *self, PyObject *args)
24132413
struct llist_node *node;
24142414
llist_for_each_safe(node, &state->shutdown_handles) {
24152415
ThreadHandle *cur = llist_data(node, ThreadHandle, shutdown_node);
2416-
if (cur->ident != ident) {
2416+
if (ThreadHandle_ident(cur) != ident) {
24172417
ThreadHandle_incref(cur);
24182418
handle = cur;
24192419
break;

0 commit comments

Comments
 (0)