diff options
author | Takamitsu Yoshii <tyoshii@xevo.com> | 2018-02-14 15:08:18 +0900 |
---|---|---|
committer | Takamitsu Yoshii <tyoshii@xevo.com> | 2018-02-15 11:12:04 +0900 |
commit | fd3917d797d4dfb83e01486b65792f492bbbbfb5 (patch) | |
tree | 2db493e0ef8f28ed4e75150234f75894997ee65a | |
parent | 96f2b8d8bddd99cc759ba9e94f1130ac8e4daf4e (diff) | |
download | sdl_ios-fd3917d797d4dfb83e01486b65792f492bbbbfb5.tar.gz |
close EA session before reconnection after start session timeout occured
-rw-r--r-- | SmartDeviceLink/SDLProxy.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink/SDLProxy.m index 24301c412..d75f7c174 100644 --- a/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink/SDLProxy.m @@ -209,6 +209,7 @@ static float DefaultConnectionTimeout = 45.0; __weak typeof(self) weakSelf = self; self.startSessionTimer.elapsedBlock = ^{ SDLLogW(@"Start session timed out"); + [weakSelf.transport disconnect]; [weakSelf performSelector:@selector(notifyProxyClosed) withObject:nil afterDelay:NotifyProxyClosedDelay]; }; } |