terminate subprocesses on shutdown (e.g. on shutdown via dbus or SIGTERM)

* fixes program hang on shutdown
* improves consistency - terminating Mailnag via CTRL+C always did this
This commit is contained in:
Patrick Ulbrich
2013-08-25 15:38:35 +02:00
parent 9fb3126227
commit 663dc50057
5 changed files with 112 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ import os
from gi.repository import Gtk
from common.plugins import Plugin, HookTypes
from common.i18n import _
from common.utils import start_subprocess
from common.subproc import start_subprocess
plugin_defaults = { 'script_file' : '' }