Commit 71abf299 authored by Hanno Schlichting's avatar Hanno Schlichting

Be a bit more defensive about cache contents

parent bd2a25f2
......@@ -174,6 +174,8 @@ class AcceleratedHTTPCacheManager (CacheManager, SimpleItem):
security.declarePrivate('_remove_data')
def _remove_data(self):
cid = self.__cacheid
if cid in caches:
caches.pop(self.__cacheid)
security.declarePrivate('_resetCacheId')
......
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