Skip to content

Instantly share code, notes, and snippets.

@myungpyo
Created June 2, 2022 08:07
Show Gist options
  • Save myungpyo/95acf9e38d2c7c451d222faa1dc64352 to your computer and use it in GitHub Desktop.
Save myungpyo/95acf9e38d2c7c451d222faa1dc64352 to your computer and use it in GitHub Desktop.
private fun finalizeFinishingState(state: Finishing, proposedUpdate: Any?): Any? {
// ...
if (finalException != null) {
val handled = cancelParent(finalException) || handleJobException(finalException)
if (handled) (finalState as CompletedExceptionally).makeHandled()
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment