[entropy.cache] EntropyCacher: also clear live cache when calling discard()

This commit is contained in:
Fabio Erculiani
2011-03-05 15:44:39 +01:00
parent 87fb1264ce
commit 2df18abc5a
+1
View File
@@ -317,6 +317,7 @@ class EntropyCacher(Singleton):
@return: None
"""
self.__cache_buffer.clear()
self.__stashing_cache.clear()
def save(self, key, data, cache_dir = None):
"""