mirror of
https://github.com/koush/scrypted.git
synced 2026-02-08 16:29:57 +00:00
python-codecs: Fix process exit leak
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import asyncio
|
||||
import time
|
||||
import traceback
|
||||
import os
|
||||
from typing import Any, AsyncGenerator, List, Union
|
||||
|
||||
import scrypted_sdk
|
||||
@@ -202,7 +203,7 @@ def multiprocess_exit():
|
||||
|
||||
|
||||
class CodecFork:
|
||||
def timeoutExit():
|
||||
def timeoutExit(self):
|
||||
print("Frame yield timed out, exiting pipeline.")
|
||||
multiprocess_exit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user