Skip to content

Commit

Permalink
worker: _discard_messages: fix return being missed
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed Jan 8, 2025
1 parent 1c11b74 commit 7794ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/transcribee_worker/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def _discard_messages(self):
if self._stop.is_set():
for task in pending:
task.cancel()
return
return
else:
pending.add(asyncio.create_task(self.conn.recv()))

Expand Down

0 comments on commit 7794ba8

Please sign in to comment.