Skip to content

Commit 5de1a83

Browse files
Update kotlinx-coroutines-core/common/src/JobSupport.kt
Co-authored-by: Dmitry Khalanskiy <[email protected]>
1 parent 54ae3b5 commit 5de1a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/JobSupport.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ public open class JobSupport constructor(active: Boolean) : Job, ChildJob, Paren
943943
state as? ChildHandleNode ?: state.list?.nextChild()
944944

945945
/**
946-
* This method is invoked by the JobSupport lifecycle when it transitions into "completing" state (also includes "cancelling"),
946+
* This method is invoked by the JobSupport lifecycle when it transitions into "finishing" state,
947947
* and in order to be transitioned into its final state it has to wait for all the children.
948948
* If this method returns `true` then the current job is waiting for its children.
949949
* It's done via an addition of a special completion handler to the child that, when invoked, invokes

0 commit comments

Comments
 (0)