Purge box art cache on low memory warning
This commit is contained in:
parent
4ccb9bebbf
commit
253144188c
1 changed files with 3 additions and 1 deletions
|
|
@ -1026,7 +1026,9 @@ static NSMutableSet* hostList;
|
|||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
|
||||
// Purge the box art cache on low memory
|
||||
[_boxArtCache removeAllObjects];
|
||||
}
|
||||
|
||||
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
|
||||
|
|
|
|||
Loading…
Reference in a new issue