Don't add signal handlers when daemonized. fix #1346

This commit is contained in:
Ruud
2013-01-25 15:26:06 +01:00
parent 51364a3c25
commit 14fffda3ff
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -176,6 +176,7 @@ class Core(Plugin):
})
def signalHandler(self):
if Env.get('daemonized'): return
def signal_handler(signal, frame):
fireEvent('app.shutdown')