Skip to content

Commit

Permalink
Update src/trio/_core/_ki.py
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Oct 18, 2024
1 parent 76b0c79 commit fa6cd8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/trio/_core/_ki.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def ki_protection_enabled(frame: types.FrameType | None) -> bool:
else:
task_ki_protected = task._ki_protected
task_frame = task.coro.cr_frame
del task

while frame is not None:
try:
Expand Down

0 comments on commit fa6cd8e

Please sign in to comment.