Skip to content

Commit

Permalink
python-codecs: Fix process exit leak
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 24, 2024
1 parent f760840 commit fa5b9f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/python-codecs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/python-codecs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/python-codecs",
"version": "0.1.95",
"version": "0.1.96",
"description": "Python Codecs for Scrypted",
"keywords": [
"scrypted",
Expand Down
3 changes: 2 additions & 1 deletion plugins/python-codecs/src/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import asyncio
import time
import traceback
import os
from typing import Any, AsyncGenerator, List, Union

import scrypted_sdk
Expand Down Expand Up @@ -202,7 +203,7 @@ def multiprocess_exit():


class CodecFork:
def timeoutExit():
def timeoutExit(self):
print("Frame yield timed out, exiting pipeline.")
multiprocess_exit()

Expand Down

0 comments on commit fa5b9f6

Please sign in to comment.