summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2019-06-24 11:44:18 -0400
committerNicoleYarroch <nicole@livio.io>2019-06-24 11:44:18 -0400
commit31bf850843cfa19f8ea40d32605dd44d1d34edc9 (patch)
treefbee616f43051f093f63c77736ce3838b46000ab
parent0e14619d13828154efc3c72bce18cfb2b4a9e227 (diff)
downloadsdl_ios-bugfix/issue_1261_bluetooth_session_not_created.tar.gz
Transport dealloc does not end the background taskbugfix/issue_1261_bluetooth_session_not_created
Background task should not be destroyed when transport is destroyed
-rw-r--r--SmartDeviceLink/SDLIAPTransport.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m
index de83631c9..4cee4ccdb 100644
--- a/SmartDeviceLink/SDLIAPTransport.m
+++ b/SmartDeviceLink/SDLIAPTransport.m
@@ -598,7 +598,6 @@ int const CreateSessionRetries = 3;
- (void)dealloc {
SDLLogV(@"SDLIAPTransport dealloc");
[self disconnect];
- [self sdl_backgroundTaskEnd];
self.controlSession = nil;
self.dataSession = nil;
self.delegate = nil;