From 608a336bb3731b43f2e3ce9d5f483494cbc18c89 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 22 Mar 2021 14:15:40 +0000 Subject: [PATCH] dashboard: Bail early from process() if in shutdown # Conflicts: # dashboard.py --- dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.py b/dashboard.py index e0569070..415d0975 100644 --- a/dashboard.py +++ b/dashboard.py @@ -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: