project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 6247 6dfad55fd71c
parent 6220 39782c4d9246
child 6634 e00762923086
equal deleted inserted replaced
6246:6b2d19ed521a 6247:6dfad55fd71c
   327 }
   327 }
   328 
   328 
   329 #pragma mark -
   329 #pragma mark -
   330 #pragma mark Memory management
   330 #pragma mark Memory management
   331 -(void) didReceiveMemoryWarning {
   331 -(void) didReceiveMemoryWarning {
   332     if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) {
   332     if ([HWUtils isGameLaunched]) {
   333         self.tableView = nil;
   333         self.tableView = nil;
   334         self.lastIndexPath_sc = nil;
   334         self.lastIndexPath_sc = nil;
   335         self.lastIndexPath_we = nil;
   335         self.lastIndexPath_we = nil;
   336         self.lastIndexPath_lu = nil;
   336         self.lastIndexPath_lu = nil;
   337         self.selectedScheme = nil;
   337         self.selectedScheme = nil;