Skip to content

Commit

Permalink
Update Modules/_asynciomodule.c
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 authored Dec 18, 2024
1 parent 5222bb6 commit e0147c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -3725,7 +3725,7 @@ module_clear(PyObject *mod)
Py_CLEAR(state->context_kwname);
// Clear the ref to running loop so that finalizers can run early.
// If there are other running loops in different threads,
// those get cleared in PyThreadState_Clear later.
// those get cleared in PyThreadState_Clear.
_PyThreadStateImpl *ts = (_PyThreadStateImpl *)_PyThreadState_GET();
Py_CLEAR(ts->asyncio_running_loop);

Expand Down

0 comments on commit e0147c6

Please sign in to comment.