project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 6247 6dfad55fd71c
parent 6220 39782c4d9246
child 6264 62d59a87daad
equal deleted inserted replaced
6246:6b2d19ed521a 6247:6dfad55fd71c
   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;