project_files/HedgewarsMobile/Classes/LevelViewController.m
changeset 3971 5c82ee165ed5
parent 3923 694e6f6e0e30
child 4149 51200479f9d8
equal deleted inserted replaced
3970:0f6e3219c108 3971:5c82ee165ed5
   182 
   182 
   183 
   183 
   184 #pragma mark -
   184 #pragma mark -
   185 #pragma mark Memory management
   185 #pragma mark Memory management
   186 -(void) didReceiveMemoryWarning {
   186 -(void) didReceiveMemoryWarning {
   187     // Releases the view if it doesn't have a superview.
   187     self.lastIndexPath = nil;
       
   188     MSG_MEMCLEAN();
   188     [super didReceiveMemoryWarning];
   189     [super didReceiveMemoryWarning];
   189     // Relinquish ownership any cached data, images, etc that aren't in use.
       
   190 }
   190 }
   191 
   191 
   192 -(void) viewDidUnload {
   192 -(void) viewDidUnload {
   193     self.lastIndexPath = nil;
   193     self.lastIndexPath = nil;
   194     self.teamDictionary = nil;
   194     self.teamDictionary = nil;