Skip to content

Commit 94d7441

Browse files
authored
Merge pull request #103 from openai/pr103
Remove duplicated code
2 parents 96913b8 + f261759 commit 94d7441

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/agents/result.py

-2
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,3 @@ def _cleanup_tasks(self):
216216

217217
if self._output_guardrails_task and not self._output_guardrails_task.done():
218218
self._output_guardrails_task.cancel()
219-
self._output_guardrails_task.cancel()
220-
self._output_guardrails_task.cancel()

0 commit comments

Comments
 (0)