From 5a7075dac6c7b4f8fcca8cdb2a1f40c21b2735f8 Mon Sep 17 00:00:00 2001 From: Brandon Biggs Date: Sun, 2 Dec 2018 14:49:20 -0800 Subject: [PATCH] Added daemon to InputDevice._pipe --- inputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inputs.py b/inputs.py index 051fda5..b1f8fb1 100644 --- a/inputs.py +++ b/inputs.py @@ -2530,7 +2530,7 @@ def _pipe(self): self.__pipe, child_conn = Pipe(duplex=False) self._listener = Process(target=target_function, - args=(child_conn,)) + args=(child_conn,), daemon=True) self._listener.start() return self.__pipe