Skip to content

Commit 52fe06a

Browse files
committed
removed dup
1 parent 889cef0 commit 52fe06a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Modules/_asynciomodule.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2190,9 +2190,6 @@ register_task(_PyThreadStateImpl *ts, TaskObj *task)
21902190
assert(task->task_node.prev != NULL);
21912191
return;
21922192
}
2193-
#ifdef Py_GIL_DISABLED
2194-
_PyObject_SetMaybeWeakref((PyObject *)task);
2195-
#endif
21962193
struct llist_node *head = &ts->asyncio_tasks_head;
21972194
llist_insert_tail(head, &task->task_node);
21982195
}

0 commit comments

Comments
 (0)