Commit 4b822c41 authored by Jeremy Hylton's avatar Jeremy Hylton

Add band-aid for failing test.

parent a24313d6
...@@ -889,7 +889,12 @@ class ClientStorage: ...@@ -889,7 +889,12 @@ class ClientStorage:
update or invalidate the cache. update or invalidate the cache.
""" """
# Must be called with _lock already acquired. # Must be called with _lock already acquired.
# XXX not sure why _update_cache() would be called on
# a closed storage.
if self._cache is None:
return
self._cache.checkSize(self._tbuf.get_size()) self._cache.checkSize(self._tbuf.get_size())
try: try:
self._tbuf.begin_iterate() self._tbuf.begin_iterate()
......
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