terminate orphaned encoder
This commit is contained in:
parent
d3a8baa42d
commit
7ba4d21ae9
@ -1674,6 +1674,8 @@ def main():
|
|||||||
_ff.encoder.terminate()
|
_ff.encoder.terminate()
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
if _ff.encoder.poll() is None:
|
||||||
|
_ff.encoder.terminate()
|
||||||
_ff.encoder.wait()
|
_ff.encoder.wait()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user