diff options
author | Takamitsu Yoshii <tyoshii@xevo.com> | 2019-06-21 13:00:53 +0900 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-07-10 09:29:04 -0400 |
commit | 5a2dff68a47b518baf8663c3127b4dd697e130e6 (patch) | |
tree | 6bd2f353df32a986ff19bcfc04073206bdeddb9a | |
parent | cccff5ce3adcafd30ae5ffc6226ad1752ef5968e (diff) | |
download | sdl_ios-release/hotfix/6.3.1.tar.gz |
do not unregister EA accessory notification on transport deallocrelease/hotfix/6.3.1
-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 d67b2f11e..e83e5aa3d 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"); - [[EAAccessoryManager sharedAccessoryManager] unregisterForLocalNotifications]; + [[NSNotificationCenter defaultCenter] removeObserver:self]; } #pragma mark EAAccessory Notifications |