Don't update library items on shutdown

This commit is contained in:
Ruud committed 2013-08-14 12:31:41 +02:00
1 parent 67bc3903d4
commit d759280c18
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -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