diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2018-11-28 10:51:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 10:51:47 -0500 |
commit | 7a69804efee306c4009be316bb4b34734e19eb3a (patch) | |
tree | 98dddec7a80bc106f5f78d90ef6fe587cdd3ace5 | |
parent | 5bae531eec1c2f04945aabd029ece594171e79d2 (diff) | |
parent | 3645235e642e9d68e6d8084c756961b4c8afeb74 (diff) | |
download | sdl_ios-7a69804efee306c4009be316bb4b34734e19eb3a.tar.gz |
Merge pull request #1114 from t-yoshii/fix/retry-connection-after-data-session-is-closed
fix to call sdl_retryEstablishSession after data sesion is closed
-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 5283ae652..f4a3698f5 100644 --- a/SmartDeviceLink/SDLIAPTransport.m +++ b/SmartDeviceLink/SDLIAPTransport.m @@ -564,7 +564,7 @@ int const ProtocolIndexTimeoutSeconds = 10; strongSelf.session.streamDelegate = nil; strongSelf.session = nil; - // We don't call sdl_retryEstablishSession here because the stream end event usually fires when the accessory is disconnected + [strongSelf sdl_retryEstablishSession]; }); // To prevent deadlocks the handler must return to the runloop and not block the thread |