Skip to content

Commit 7808c2e

Browse files
Update Modules/_asynciomodule.c
Co-authored-by: Sam Gross <[email protected]>
1 parent 932f6f3 commit 7808c2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/_asynciomodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4089,7 +4089,8 @@ _asyncio_all_tasks_impl(PyObject *module, PyObject *loop)
40894089
Py_DECREF(loop);
40904090
return NULL;
40914091
}
4092-
} else {
4092+
}
4093+
else {
40934094
// Slow path for loop running in different thread
40944095
PyInterpreterState *interp = ts->base.interp;
40954096
// Stop the world and traverse the per-thread linked list

0 commit comments

Comments
 (0)