summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-01-25 09:26:59 -0500
committerJoel Fischer <joeljfischer@gmail.com>2016-01-25 09:26:59 -0500
commiteec7cf33b6c255de7a7180da567bdea4ab88d449 (patch)
tree7823c60ac5033bf8f39a11da24b370ea68e7bf68
parent5a66cb77d7b32f9e66f07e221f6f344b0f5dde50 (diff)
downloadsdl_ios-eec7cf33b6c255de7a7180da567bdea4ab88d449.tar.gz
Fix removing observers that don't exist in SDLProxy
-rw-r--r--SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
index 70f2f415f..f26256bfd 100644
--- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
+++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
@@ -166,9 +166,6 @@ const int POLICIES_CORRELATION_ID = 65535;
}
- (void)onProtocolClosed {
- [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidBecomeActiveNotification object:nil];
- [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillResignActiveNotification object:nil];
-
[self notifyProxyClosed];
}