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

Try to create the engine

parent 87b6b46a
......@@ -51,7 +51,12 @@ class QuicEngineImpl(context: Context, private val quicOnly:Boolean, vararg addr
init {
installNetworkEngine(context) {
engine = createEngine(context, *addresses)
engine = try {
createEngine(context, *addresses)
} catch (ex: Throwable) {
providerInstalled = false
null
}
}
}
......
Markdown is supported
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