Permalink
Browse files

Fixed a critical crash under iOS 6

  • Loading branch information...
1 parent 9abe3a2 commit f689eb2274d96438430ae9397f64547c1cfc9762 @michaeltyson michaeltyson committed Oct 14, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 MapView/Map/RMCoreAnimationRenderer.m
@@ -63,6 +63,10 @@ - (id) initWithContent: (RMMapContents *)_contents
-(void) dealloc
{
+ for ( RMTileImage *image in tiles ) {
+ [image layer].delegate = nil;
+ }
+ layer.delegate = nil;
[tiles release];
[layer release];
[super dealloc];

0 comments on commit f689eb2

Please sign in to comment.