We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a93a67 commit 5570c2eCopy full SHA for 5570c2e
pyprland/command.py
@@ -5,6 +5,7 @@
5
import itertools
6
import json
7
import os
8
+import signal
9
import sys
10
import tomllib
11
from collections.abc import Callable
@@ -77,6 +78,7 @@ def __init__(self) -> None:
77
78
self.log = get_logger()
79
self.queues: dict[str, asyncio.Queue] = {}
80
self._set_instance(self)
81
+ signal.signal(signal.SIGTERM, lambda *_: sys.exit(0))
82
83
async def initialize(self) -> None:
84
"""Initialize the main structures."""
pyprland/version.py
@@ -1,3 +1,3 @@
1
"""Package version."""
2
3
-VERSION = "2.4.3-5"
+VERSION = "2.4.3-6"
0 commit comments