Skip to content

Commit 21b6cb0

Browse files
author
Mallory Paine
committed
When resetting, reset the chunk dictionary and the counted chunk set as well.
1 parent 1972de9 commit 21b6cb0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

FastImageCache/FICImageTable.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@ - (void)reset {
677677
[_inUseEntries removeAllObjects];
678678
[_MRUEntries removeAllObjects];
679679
[_sourceImageMap removeAllObjects];
680+
[_chunkDictionary removeAllObjects];
681+
[_chunkSet removeAllObjects];
680682

681683
[self _setEntryCount:0];
682684
[self saveMetadata];

0 commit comments

Comments
 (0)