Fix ESPHome media proxy exit criteria (#129267)

pull/129295/head
Erik Montnemery 2024-10-27 18:39:49 +01:00 committed by GitHub
parent 88f0a33e69
commit 2888e5748e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -181,7 +181,6 @@ class FFmpegConvertResponse(web.StreamResponse):
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)