Commit 11c31b53 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Try to create the engine

parent 87b6b46a
Pipeline #7793 passed with stage
in 4 minutes and 35 seconds
...@@ -51,7 +51,12 @@ class QuicEngineImpl(context: Context, private val quicOnly:Boolean, vararg addr ...@@ -51,7 +51,12 @@ class QuicEngineImpl(context: Context, private val quicOnly:Boolean, vararg addr
init { init {
installNetworkEngine(context) { installNetworkEngine(context) {
engine = createEngine(context, *addresses) engine = try {
createEngine(context, *addresses)
} catch (ex: Throwable) {
providerInstalled = false
null
}
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment