python-codecs: Fix process exit leak

This commit is contained in:
Koushik Dutta
2024-03-23 17:45:38 -07:00
parent f760840a6d
commit fa5b9f66db
3 changed files with 5 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/python-codecs",
"version": "0.1.95",
"version": "0.1.96",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@scrypted/python-codecs",
"version": "0.1.95",
"version": "0.1.96",
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
}

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/python-codecs",
"version": "0.1.95",
"version": "0.1.96",
"description": "Python Codecs for Scrypted",
"keywords": [
"scrypted",

View File

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