summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2019-05-31 16:11:11 -0400
committerNicoleYarroch <nicole@livio.io>2019-05-31 16:11:11 -0400
commit335ca76d338ac11ee235a3c4c7066c698b6c4275 (patch)
treefcdffce7193a93314e3fb6dadadaf6de84f7b674
parent74c5aba2a4d742cba7b114cbcf32e11d97d9e121 (diff)
downloadsdl_ios-335ca76d338ac11ee235a3c4c7066c698b6c4275.tar.gz
Fixed compile error
-rw-r--r--SmartDeviceLink/SDLIAPTransport.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m
index fa9d8a4a5..0caaebe8b 100644
--- a/SmartDeviceLink/SDLIAPTransport.m
+++ b/SmartDeviceLink/SDLIAPTransport.m
@@ -306,7 +306,7 @@ 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.transportDisconnected) {
+ 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 transport object.");
return;
}