cocoaTouch/GameConfigViewController.m
changeset 3487 b1d00f1950c8
parent 3374 0d522416d97f
child 3490 016b3172b645
equal deleted inserted replaced
3486:e1b1a4c18c5b 3487:b1d00f1950c8
   135 
   135 
   136 -(void) didReceiveMemoryWarning {
   136 -(void) didReceiveMemoryWarning {
   137     // Releases the view if it doesn't have a superview.
   137     // Releases the view if it doesn't have a superview.
   138     [super didReceiveMemoryWarning];
   138     [super didReceiveMemoryWarning];
   139     // Release any cached data, images, etc that aren't in use.
   139     // Release any cached data, images, etc that aren't in use.
       
   140     if (mapConfigViewController.view.superview == nil ) 
       
   141         mapConfigViewController = nil;
       
   142     if (teamConfigViewController.view.superview == nil)
       
   143         teamConfigViewController = nil;
       
   144     activeController = nil;
       
   145     MSG_MEMCLEAN();
   140 }
   146 }
   141 
   147 
   142 
   148 
   143 -(void) viewDidUnload {
   149 -(void) viewDidUnload {
   144     NSLog(@"unloading");
   150     NSLog(@"unloading");