We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SIGHUP
1 parent 3dc72dd commit 531c8d4Copy full SHA for 531c8d4
1 file changed
neurosity/neurosity.py
@@ -2,6 +2,7 @@
2
import firebase
3
import signal
4
import os
5
+from platform import system
6
7
from .config import FirebaseConfig
8
@@ -24,7 +25,8 @@ def __init__(self, options):
24
25
# register a signal handler for Forced Terminal Kills
26
signal.signal(signal.SIGTERM, self.exit_handler)
27
signal.signal(signal.SIGINT, self.exit_handler)
- signal.signal(signal.SIGHUP, self.exit_handler)
28
+ if system() != "Windows":
29
+ signal.signal(signal.SIGHUP, self.exit_handler)
30
31
def exit_handler(self, signum=None, frame=None):
32
self.remove_client()
0 commit comments