mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-22 05:54:18 +00:00
🐛 Fix worker not closing sessions properly
This commit is contained in:
parent
d7d1ad99dd
commit
3915bb7447
1 changed files with 1 additions and 0 deletions
|
@ -1535,5 +1535,6 @@ class Worker(threading.Thread):
|
||||||
# If a restart has been requested...
|
# If a restart has been requested...
|
||||||
# Do nothing.
|
# Do nothing.
|
||||||
# Close the database session
|
# Close the database session
|
||||||
|
self.session.close()
|
||||||
# End the process
|
# End the process
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Loading…
Reference in a new issue