cancelIfActive

fun Job?.cancelIfActive()

Cancel the Job if it's active.