From 3915bb74476223c787188afbd781f7e113434199 Mon Sep 17 00:00:00 2001 From: Santiago Valenzuela Date: Thu, 3 Dec 2020 08:11:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20worker=20not=20closing=20s?= =?UTF-8?q?essions=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/worker.py b/worker.py index 042d23c..4228fee 100644 --- a/worker.py +++ b/worker.py @@ -1535,5 +1535,6 @@ class Worker(threading.Thread): # If a restart has been requested... # Do nothing. # Close the database session + self.session.close() # End the process sys.exit(0)