Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor nit
  • Loading branch information
Fidget-Spinner committed Jul 12, 2024
commit e1b730a0a38e7bbfe691a7c5ae335fdefeb5186b
4 changes: 2 additions & 2 deletions Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ register_eager_task(asyncio_state *state, PyObject *task)
}

static void
unregister_task_no_lock(asyncio_state *state, TaskObj *task)
unregister_task_lock_held(asyncio_state *state, TaskObj *task)
{
assert(Task_Check(state, task));
assert(task != &state->asyncio_tasks.tail);
Expand All @@ -2085,7 +2085,7 @@ static void
unregister_task(asyncio_state *state, TaskObj *task)
{
ASYNCIO_STATE_LOCK(state);
unregister_task_no_lock(state, task);
unregister_task_lock_held(state, task);
ASYNCIO_STATE_UNLOCK(state);
}

Expand Down