--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m Wed Nov 02 09:24:18 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m Wed Nov 02 09:48:29 2011 +0100
@@ -205,6 +205,7 @@
[self.popoverController performSelectorOnMainThread:@selector(dismissPopoverAnimated:) withObject:nil waitUntilDone:YES];
[self.view performSelectorOnMainThread:@selector(removeFromSuperview) withObject:nil waitUntilDone:YES];
[self performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:YES];
+ mainOverlay = nil;
}
#pragma mark -