清理键盘emoji内存高的问题
This commit is contained in:
@@ -195,6 +195,12 @@ static const NSUInteger kKBEmojiRecentsLimit = 32;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)purgeLargeCaches {
|
||||
self.categoriesInternal = nil;
|
||||
self.itemLookup = nil;
|
||||
self.recentValues = nil;
|
||||
}
|
||||
|
||||
- (void)onLocalizationChanged:(__unused NSNotification *)note {
|
||||
[self refreshLocalizedTitles];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:KBEmojiRecentsDidChangeNotification object:nil];
|
||||
|
||||
Reference in New Issue
Block a user