1
0
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:
Athanasius 2021-03-22 14:15:40 +00:00
parent 28a230b584
commit 608a336bb3

View File

@ -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: