diff options
author | theresalech <theresa@livio.io> | 2019-07-10 09:18:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 09:18:16 -0400 |
commit | 51f71ab7cab7c500147fc1b26aa6c2aba78ff6d2 (patch) | |
tree | 77f2986cecd059384341b5f9e87c2dcd37875f86 | |
parent | bcc9874e4df999022a86d8931c9b60a1c451ccfc (diff) | |
download | sdl_ios-51f71ab7cab7c500147fc1b26aa6c2aba78ff6d2.tar.gz |
Revert "do not unregister EA accessory notification on transport dealloc"
-rw-r--r-- | SmartDeviceLink/SDLIAPTransport.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m index e83e5aa3d..d67b2f11e 100644 --- a/SmartDeviceLink/SDLIAPTransport.m +++ b/SmartDeviceLink/SDLIAPTransport.m @@ -80,7 +80,7 @@ int const CreateSessionRetries = 3; */ - (void)sdl_stopEventListening { SDLLogV(@"SDLIAPTransport stopped listening for events"); - [[NSNotificationCenter defaultCenter] removeObserver:self]; + [[EAAccessoryManager sharedAccessoryManager] unregisterForLocalNotifications]; } #pragma mark EAAccessory Notifications |