Commit 7df12fd
authored
Add a check in cache.erase() to never attempt it in FROZEN_CACHE mode. (#25259)
If external logic is correct, then this exception should never be
thrown.
(I considered no-opping this call in FROZEN_CACHE mode, but I think that
is not a good idea. Better to fix any callers to cache.erase() in
FROZEN_CACHE mode directly)1 parent 925c6c6 commit 7df12fd
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
0 commit comments