summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/otg/device.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-02 15:07:08 +0300
committerDevaev Maxim <[email protected]>2020-12-02 15:07:08 +0300
commit5bc868662a7ef2b8959a04e6678c512797ebd7be (patch)
tree102f25b53359e58a8cd42c78a5ea7f57c91f294f /kvmd/plugins/hid/otg/device.py
parent2b064a3bee87a13930e1212b583278ff2a8117db (diff)
stop signals propagation in 3.9
Diffstat (limited to 'kvmd/plugins/hid/otg/device.py')
-rw-r--r--kvmd/plugins/hid/otg/device.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/otg/device.py b/kvmd/plugins/hid/otg/device.py
index 7d25597b..8845d9e1 100644
--- a/kvmd/plugins/hid/otg/device.py
+++ b/kvmd/plugins/hid/otg/device.py
@@ -81,7 +81,7 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in
logger = get_logger(0)
logger.info("Started HID-%s pid=%d", self.__name, os.getpid())
- aioproc.ignore_sigint()
+ os.setpgrp()
aioproc.rename_process(f"hid-{self.__name}")
while not self.__stop_event.is_set():