fixed issue with scheduler and cache.disk introduced in 2.8.1

This commit is contained in:
mdipierro
2013-11-28 07:50:55 -06:00
parent a55c6777d3
commit 64b670fd8f
4 changed files with 10 additions and 4 deletions
+3
View File
@@ -254,7 +254,10 @@ class CacheOnDisk(CacheAbstract):
try:
if self.storage:
self.storage.close()
except ValueError:
pass
finally:
self.storage = None
if self.locker and self.locked:
portalocker.unlock(self.locker)
self.locker.close()