Fix variable error during stream close (#38417)

pull/38420/head
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
1 changed files with 2 additions and 1 deletions

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()