terminate orphaned encoder

This commit is contained in:
Jonathan Baecker 2019-12-17 09:52:00 +01:00
parent d3a8baa42d
commit 7ba4d21ae9

View File

@ -1674,6 +1674,8 @@ def main():
_ff.encoder.terminate()
finally:
if _ff.encoder.poll() is None:
_ff.encoder.terminate()
_ff.encoder.wait()