summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-11-28 10:51:47 -0500
committerGitHub <noreply@github.com>2018-11-28 10:51:47 -0500
commit7a69804efee306c4009be316bb4b34734e19eb3a (patch)
tree98dddec7a80bc106f5f78d90ef6fe587cdd3ace5
parent5bae531eec1c2f04945aabd029ece594171e79d2 (diff)
parent3645235e642e9d68e6d8084c756961b4c8afeb74 (diff)
downloadsdl_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.m2
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