-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MM Image Cache - Fix erasing group items
When a user clears all the memory in a shot, the underlying ImageCache::m_cpu_group_map would be changed, but the code is iteratiting over it, so we must manually check the group exists each time, and remove the first value each time. This probably has a performance impact, but it's required for stability and safety.
- Loading branch information
1 parent
625ae74
commit 91c1de1
Showing
2 changed files
with
136 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters