Skip to content

Commit ea5518e

Browse files
authored
Update Modules/_threadmodule.c
1 parent 5ef0ff3 commit ea5518e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Modules/_threadmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,6 @@ PyThreadHandleObject_is_done(PyObject *op, PyObject *Py_UNUSED(dummy))
712712
PyThreadHandleObject *self = PyThreadHandleObject_CAST(op);
713713
if (_PyEvent_IsSet(&self->handle->thread_is_exiting)) {
714714
if (_PyOnceFlag_CallOnce(&self->handle->once, join_thread, self->handle) == -1) {
715-
PyErr_SetString(PyExc_RuntimeError, "failed to join thread");
716715
return NULL;
717716
}
718717
Py_RETURN_TRUE;

0 commit comments

Comments
 (0)