Skip to content

Commit 9380c78

Browse files
committed
Oops, close the cache, not the deque
1 parent fe5ee43 commit 9380c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diskcache/persistent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def reverse(self):
539539
self.clear()
540540
self.extend(temp)
541541
directory = temp.directory
542-
temp.close()
542+
temp._cache.close()
543543
del temp
544544
rmtree(directory)
545545

0 commit comments

Comments
 (0)