Don't update library items on shutdown
This commit is contained in:
1 parent
67bc3903d4
commit
d759280c18
2 files changed
+5
-1
No files matched your search
@@ -192,7 +192,7 @@ class Manage(Plugin):
|
||||
|
||||
# Notify frontend
|
||||
def afterUpdate():
|
||||
if not self.in_progress:
|
||||
if not self.in_progress or self.shuttingDown():
|
||||
return
|
||||
|
||||
self.in_progress[folder]['to_go'] = self.in_progress[folder]['to_go'] - 1
|
||||
|
||||
Reference in new issue
Block a user