Skip to content

Commit 60679d4

Browse files
committed
Issue #27591: Merge from 3.5
2 parents f6f7349 + 0afd771 commit 60679d4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Modules/_multiprocessing/semaphore.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ semlock_acquire(SemLockObject *self, PyObject *args, PyObject *kwds)
114114
assert(sigint_event != NULL);
115115
handles[nhandles++] = sigint_event;
116116
}
117+
else {
118+
sigint_event = NULL;
119+
}
117120

118121
/* do the wait */
119122
Py_BEGIN_ALLOW_THREADS

0 commit comments

Comments
 (0)