summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2019-05-31 16:05:46 -0400
committerNicoleYarroch <nicole@livio.io>2019-05-31 16:05:46 -0400
commit74c5aba2a4d742cba7b114cbcf32e11d97d9e121 (patch)
tree721515933f4c0f5c42d258c680620414753e6a9d
parentbde8a7d9c3f757400e3126d797594ea7abf481fa (diff)
parent12ee2a0682981c3d7b5af99a306706bd626475c2 (diff)
downloadsdl_ios-74c5aba2a4d742cba7b114cbcf32e11d97d9e121.tar.gz
Merge branch 'bugfix/issue_1239_iAPTransport_class_disconnect_cleanup' of https://github.com/smartdevicelink/sdl_ios into bugfix/issue_1239_iAPTransport_class_disconnect_cleanup
# Conflicts: # SmartDeviceLink/SDLIAPTransport.m
-rw-r--r--SmartDeviceLink/SDLIAPTransport.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m
index e4826f18c..fa9d8a4a5 100644
--- a/SmartDeviceLink/SDLIAPTransport.m
+++ b/SmartDeviceLink/SDLIAPTransport.m
@@ -306,8 +306,8 @@ int const CreateSessionRetries = 3;
* @param accessory The accessory to attempt connection with or nil to scan for accessories.
*/
- (void)sdl_connect:(nullable EAAccessory *)accessory {
- if (self.transportDestroyed) {
- SDLLogV(@"Will not attempt to connect to an accessory because the data session disconnected. Waiting for lifecycle manager to create a new tranport object.");
+ if (self.transportDisconnected) {
+ SDLLogV(@"Will not attempt to connect to an accessory because the data session disconnected. Waiting for lifecycle manager to create a new transport object.");
return;
}