Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove observers on dealloc

  • Loading branch information...
commit e3657ac64e00975d8cbb9fb0dd8037e7c02b4297 1 parent 2eb1468
@tracyharton tracyharton authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  MapView/Map/RMAbstractMercatorWebSource.m
View
2  MapView/Map/RMAbstractMercatorWebSource.m
@@ -60,6 +60,8 @@ - (void) networkOperationsNotification: (NSNotification*) notification
-(void) dealloc
{
+ [[NSNotificationCenter defaultCenter] removeObserver:self name:RMSuspendNetworkOperations object:nil];
+ [[NSNotificationCenter defaultCenter] removeObserver:self name:RMResumeNetworkOperations object:nil];
[tileProjection release];
[super dealloc];
}
Please sign in to comment.
Something went wrong with that request. Please try again.