Don't add signal handlers when daemonized. fix #1346
This commit is contained in:
@@ -176,6 +176,7 @@ class Core(Plugin):
|
||||
})
|
||||
|
||||
def signalHandler(self):
|
||||
if Env.get('daemonized'): return
|
||||
|
||||
def signal_handler(signal, frame):
|
||||
fireEvent('app.shutdown')
|
||||
|
||||
Reference in New Issue
Block a user