报告后面紧跟 awaitasync 调用。 此类调用可以替换为块调用。

示例:


  suspend fun test(ctx: CoroutineContext, scope: CoroutineScope) {
      scope.async(ctx) { doSomeJob() }.await()
  }

在应用快速修复后:


  suspend fun test(ctx: CoroutineContext, scope: CoroutineScope) {
      withContext(scope.coroutineContext + ctx) { doSomeJob() }
  }