diff options
author | NicoleYarroch <nicole@livio.io> | 2019-05-31 16:11:11 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2019-05-31 16:11:11 -0400 |
commit | 335ca76d338ac11ee235a3c4c7066c698b6c4275 (patch) | |
tree | fcdffce7193a93314e3fb6dadadaf6de84f7b674 | |
parent | 74c5aba2a4d742cba7b114cbcf32e11d97d9e121 (diff) | |
download | sdl_ios-335ca76d338ac11ee235a3c4c7066c698b6c4275.tar.gz |
Fixed compile error
-rw-r--r-- | SmartDeviceLink/SDLIAPTransport.m | 2 |
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; } |