diff options
Diffstat (limited to 'service/pixelated/config/reactor_manager.py')
-rw-r--r-- | service/pixelated/config/reactor_manager.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/service/pixelated/config/reactor_manager.py b/service/pixelated/config/reactor_manager.py index 813714a8..af140c5b 100644 --- a/service/pixelated/config/reactor_manager.py +++ b/service/pixelated/config/reactor_manager.py @@ -22,11 +22,6 @@ import logging from twisted.internet import reactor -def signal_handler(signal, frame): - stop_reactor_on_exit() - sys.exit(0) - - def start_reactor(logging=False): if logging: enable_logging() @@ -45,8 +40,6 @@ def stop_reactor_on_exit(): global REACTOR_THREAD REACTOR_THREAD = None -signal.signal(signal.SIGINT, signal_handler) - def enable_logging(): logging.basicConfig(level=logging.DEBUG, |