diff options
author | David Switzer <dswitzer@xevo.com> | 2017-04-14 09:46:40 -0700 |
---|---|---|
committer | David Switzer <dswitzer@xevo.com> | 2017-04-14 09:46:40 -0700 |
commit | 4d22293fe85e7e38d3a88a9147ef9f608d8144a4 (patch) | |
tree | 1bd2ac96c04885c23c2ba856ccd6f1acb52b8aef | |
parent | e5f53e2757124c242614e0017fc289a1240785cf (diff) | |
download | sdl_ios-4d22293fe85e7e38d3a88a9147ef9f608d8144a4.tar.gz |
Remove dealloc from queue class, only deregister notifications in disconnect.
-rw-r--r-- | SmartDeviceLink/SDLIAPTransport.m | 1 | ||||
-rwxr-xr-x | SmartDeviceLink/SDLMutableDataQueue.m | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m index f33cf1aed..cbf1ccd7d 100644 --- a/SmartDeviceLink/SDLIAPTransport.m +++ b/SmartDeviceLink/SDLIAPTransport.m @@ -100,7 +100,6 @@ int const streamOpenTimeoutSeconds = 2; - (void)sdl_accessoryDisconnected:(NSNotification *)notification { [SDLDebugTool logInfo:@"Accessory Disconnected Event" withType:SDLDebugType_Transport_iAP toOutput:SDLDebugOutput_All toGroup:self.debugConsoleGroupName]; - [self sdl_stopEventListening]; // Only check for the data session, the control session is handled separately EAAccessory *accessory = [notification.userInfo objectForKey:EAAccessoryKey]; diff --git a/SmartDeviceLink/SDLMutableDataQueue.m b/SmartDeviceLink/SDLMutableDataQueue.m index 85dfedd78..db5aa7af9 100755 --- a/SmartDeviceLink/SDLMutableDataQueue.m +++ b/SmartDeviceLink/SDLMutableDataQueue.m @@ -67,9 +67,4 @@ } } -- (void)dealloc { - [self removeAllObjects]; - self.elements = nil; -} - @end |