Skip to content

Commit

Permalink
Remove observers on dealloc
Browse files Browse the repository at this point in the history
  • Loading branch information
tracyharton committed Mar 17, 2012
1 parent 2eb1468 commit e3657ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MapView/Map/RMAbstractMercatorWebSource.m
Expand Up @@ -60,6 +60,8 @@ - (void) networkOperationsNotification: (NSNotification*) notification


-(void) dealloc -(void) dealloc
{ {
[[NSNotificationCenter defaultCenter] removeObserver:self name:RMSuspendNetworkOperations object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:RMResumeNetworkOperations object:nil];
[tileProjection release]; [tileProjection release];
[super dealloc]; [super dealloc];
} }
Expand Down

0 comments on commit e3657ac

Please sign in to comment.