equal
deleted
inserted
replaced
269 } |
269 } |
270 |
270 |
271 #pragma mark - |
271 #pragma mark - |
272 #pragma mark Memory management |
272 #pragma mark Memory management |
273 -(void) didReceiveMemoryWarning { |
273 -(void) didReceiveMemoryWarning { |
274 if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) { |
274 if ([HWUtils isGameLaunched]) { |
275 self.listOfSelectedTeams = nil; |
275 self.listOfSelectedTeams = nil; |
276 self.listOfAllTeams = nil; |
276 self.listOfAllTeams = nil; |
277 self.tableView = nil; |
277 self.tableView = nil; |
278 } |
278 } |
279 self.cachedContentsOfDir = nil; |
279 self.cachedContentsOfDir = nil; |