Skip to content

Commit

Permalink
Merge pull request #1334 from smartdevicelink/revert-1330-fix/do-not-…
Browse files Browse the repository at this point in the history
…unregister-ea-accessory-notification-on-dealloc

Revert "do not unregister EA accessory notification on transport dealloc"
  • Loading branch information
theresalech committed Jul 10, 2019
2 parents bcc9874 + 51f71ab commit cccff5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartDeviceLink/SDLIAPTransport.m
Expand Up @@ -80,7 +80,7 @@ - (void)sdl_startEventListening {
*/
- (void)sdl_stopEventListening {
SDLLogV(@"SDLIAPTransport stopped listening for events");
[[NSNotificationCenter defaultCenter] removeObserver:self];
[[EAAccessoryManager sharedAccessoryManager] unregisterForLocalNotifications];
}

#pragma mark EAAccessory Notifications
Expand Down

0 comments on commit cccff5c

Please sign in to comment.