project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 3625 9f1d79e01a60
parent 3624 304c6d32383a
child 3626 19f78afa0188
equal deleted inserted replaced
3624:304c6d32383a 3625:9f1d79e01a60
   147     // set initial orientation
   147     // set initial orientation
   148     [self didRotate:[NSNotification notificationWithName:UIDeviceOrientationDidChangeNotification object:nil]];
   148     [self didRotate:[NSNotification notificationWithName:UIDeviceOrientationDidChangeNotification object:nil]];
   149 }
   149 }
   150 
   150 
   151 -(void) viewDidUnload {
   151 -(void) viewDidUnload {
       
   152     [popoverController dismissPopoverAnimated:NO];
   152     [dimTimer invalidate];
   153     [dimTimer invalidate];
   153     [popoverController dismissPopoverAnimated:NO];
       
   154     self.writeChatTextField = nil;
   154     self.writeChatTextField = nil;
   155     self.popoverController = nil;
   155     self.popoverController = nil;
   156     self.popupMenu = nil;
   156     self.popupMenu = nil;
   157     self.spinningWheel = nil;
   157     self.spinningWheel = nil;
   158     [super viewDidUnload];
   158     [super viewDidUnload];