save configuration a little early, better timing on shutdown
This commit is contained in:
parent
c1aa341a7a
commit
8cd3b8fdef
|
@ -222,13 +222,14 @@ def stop_all():
|
|||
_log.info("stopping %s", listeners)
|
||||
|
||||
for l in listeners:
|
||||
if l:
|
||||
l.stop()
|
||||
for l in listeners:
|
||||
l.join()
|
||||
l.stop()
|
||||
|
||||
configuration.save()
|
||||
|
||||
if listeners:
|
||||
for l in listeners:
|
||||
l.join()
|
||||
|
||||
|
||||
_status_callback = None
|
||||
_error_callback = None
|
||||
|
|
Loading…
Reference in New Issue