Skip to content

Commit

Permalink
Fix ESPHome media proxy exit criteria (#129267)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Oct 27, 2024
1 parent 88f0a33 commit 2888e57
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion homeassistant/components/esphome/ffmpeg_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ async def prepare(self, request: BaseRequest) -> AbstractStreamWriter | None:
self.hass.is_running
and (request.transport is not None)
and (not request.transport.is_closing())
and (proc.returncode is None)
and (chunk := await proc.stdout.read(self.chunk_size))
):
await writer.write(chunk)
Expand Down

0 comments on commit 2888e57

Please sign in to comment.