asyncRun这段代码的协程handler里面应该回调error吧,不然报错了,也没有回调,就卡在那了
Opened this issue · 1 comments
hxmeie commented
override fun asyncRun(scope: CoroutineScope, liveData: CompressLiveData<T, List<File>>) {
val result by lazy { ArrayList<File>() }
val handler = CoroutineExceptionHandler { _, exception ->
Checker.logger("handlerCatch -> $exception") //这里面不应该回调State.Error吗
}
louis-lzt commented
多线程这块确实不好用啊