mirror of
https://github.com/koush/scrypted.git
synced 2026-06-25 18:50:29 +01:00
python-codecs: fix windows process cleanup
This commit is contained in:
@@ -153,9 +153,12 @@ class CodecFork:
|
||||
raise
|
||||
finally:
|
||||
print('libav finished after %s' % (time.time() - start))
|
||||
import os
|
||||
os._exit(os.EX_OK)
|
||||
pass
|
||||
import sys
|
||||
if sys.platform == 'win32':
|
||||
sys.exit()
|
||||
else:
|
||||
import os
|
||||
os._exit(os.EX_OK)
|
||||
|
||||
|
||||
async def fork():
|
||||
|
||||
Reference in New Issue
Block a user