summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2019-05-15 09:12:11 -0400
committerNicoleYarroch <nicole@livio.io>2019-05-15 09:12:11 -0400
commit4f0719dbaa495efffabeb6e62939e8901db6f2e6 (patch)
tree7fdda12940181e3485e1b7556d658d1b1ae332f9
parent8079fd82852d6dd652c5d7424b81eb9dda6163d6 (diff)
downloadsdl_ios-4f0719dbaa495efffabeb6e62939e8901db6f2e6.tar.gz
More fixes for the reconnects in example apps
-rw-r--r--Example Apps/Example Swift/ProxyManager.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift
index 5cc15217e..3b0ca25a4 100644
--- a/Example Apps/Example Swift/ProxyManager.swift
+++ b/Example Apps/Example Swift/ProxyManager.swift
@@ -119,6 +119,7 @@ private extension ProxyManager {
sdlManager.start(readyHandler: { [unowned self] (success, error) in
guard success else {
SDLLog.e("There was an error while starting up: \(String(describing: error))")
+ self.resetConnection()
return
}