Fix variable error during stream close (#38417)

This commit is contained in:
J. Nick Koston 2020-07-30 16:58:17 -10:00 committed by GitHub
parent 4bd9509fa7
commit 57883ec10a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,5 +174,6 @@ def stream_worker(hass, stream, quit_event):
buffer.output.mux(packet)
# Close stream
buffer.output.close()
for buffer in outputs.values():
buffer.output.close()
container.close()