Commit 329d2a2e authored by Hanno Schlichting's avatar Hanno Schlichting

One more cache.pop

parent 71abf299
...@@ -382,7 +382,9 @@ class RAMCacheManager (CacheManager, SimpleItem): ...@@ -382,7 +382,9 @@ class RAMCacheManager (CacheManager, SimpleItem):
security.declarePrivate('_remove_data') security.declarePrivate('_remove_data')
def _remove_data(self): def _remove_data(self):
caches.pop(self.__cacheid) cid = self.__cacheid
if cid in caches:
caches.pop(cid)
security.declarePrivate('_resetCacheId') security.declarePrivate('_resetCacheId')
def _resetCacheId(self): def _resetCacheId(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment