stop scheduler when an application exits
This commit is contained in:
parent
6973611e2a
commit
0ce8b12c32
2 changed files with 8 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ class BaseApplication(object):
|
|||
self._parser.add_option('--shell-completion', action='store_true', help=optparse.SUPPRESS_HELP)
|
||||
|
||||
def deinit(self):
|
||||
self.weboob.want_stop()
|
||||
self.weboob.deinit()
|
||||
|
||||
def create_storage(self, path=None, klass=None, localonly=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue