mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-16 09:10:35 +03:00
dashboard: Bail early from process() if in shutdown
# Conflicts: # dashboard.py
This commit is contained in:
parent
28a230b584
commit
608a336bb3
@ -145,7 +145,7 @@ class Dashboard(FileSystemEventHandler):
|
||||
|
||||
# Can be called either in watchdog thread or, if polling, in main thread.
|
||||
def process(self, logfile=None):
|
||||
if config.shutting_down:
|
||||
if config.shutting_down():
|
||||
return
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user