here `firstAction()` will be called even if i canc...
# coroutines
k
here
firstAction()
will be called even if i cancel job while coroutine is suspended by delay, what i'm doing wrong here ?
b
How are you cancelling it? Your code is cancelling children coroutines, but not the Job returned by the launch itself
👍 1
k
ohh sorry that's my mistake, you are right ->`myJob?.cancel()` worked