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

This commit is contained in:
Ruud committed 2013-01-25 15:26:06 +01:00
1 parent 51364a3c25
commit 14fffda3ff
2 files changed
+2

No files matched your search

+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')