Skip to content

Commit fa6cd8e

Browse files
authored
Update src/trio/_core/_ki.py
1 parent 76b0c79 commit fa6cd8e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/trio/_core/_ki.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def ki_protection_enabled(frame: types.FrameType | None) -> bool:
179179
else:
180180
task_ki_protected = task._ki_protected
181181
task_frame = task.coro.cr_frame
182-
del task
183182

184183
while frame is not None:
185184
try:

0 commit comments

Comments
 (0)