This commit is contained in:
gedoor 2021-10-20 09:21:01 +08:00
parent 7b8b3a1753
commit 59ffcf0b28

View File

@ -42,6 +42,7 @@ val cronetEngine: ExperimentalCronetEngine? by lazy {
//URL.setURLStreamHandlerFactory(CronetURLStreamHandlerFactory(engine))
return@lazy engine
} catch (e: Exception) {
Timber.e(e, "初始化cronetEngine出错")
return@lazy null
}
}