mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix db session
This commit is contained in:
@@ -106,3 +106,5 @@ class Scheduler(metaclass=Singleton):
|
||||
"""
|
||||
if self._scheduler.running:
|
||||
self._scheduler.shutdown()
|
||||
if self._db:
|
||||
self._db.close()
|
||||
|
||||
Reference in New Issue
Block a user