File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ Maintenance
28
28
* Update GitHub issue templates with `YAML ` format.
29
29
By :user: `Saransh Chopra <Saransh-cpp> ` :issue: `1079 `.
30
30
31
-
32
31
Bug fixes
33
32
~~~~~~~~~
34
33
@@ -37,6 +36,9 @@ Bug fixes
37
36
that had previously been excluded from testing, and type annotations were added to the N5 codebase.
38
37
By :user: `Davis Bennett <d-v-b> `; :issue: `1092 `.
39
38
39
+ * Fix bug in LRUEStoreCache in which the current size wasn't reset on invalidation.
40
+ By :user: `BGCMHou <BGCMHou> ` and :user: `Josh Moore <joshmoore> ` :issue: `1076 `, :issue: `1077 `.
41
+
40
42
.. _release_2.12.0 :
41
43
42
44
2.12.0
Original file line number Diff line number Diff line change @@ -2398,6 +2398,7 @@ def invalidate(self):
2398
2398
with self ._mutex :
2399
2399
self ._values_cache .clear ()
2400
2400
self ._invalidate_keys ()
2401
+ self ._current_size = 0
2401
2402
2402
2403
def invalidate_values (self ):
2403
2404
"""Clear the values cache."""
You can’t perform that action at this time.
0 commit comments