Skip to content

Commit b6dd65c

Browse files
mareklangiewiczqwwdfsad
authored andcommitted
Remove outdated comment about canceling without a cause.
1 parent f605b26 commit b6dd65c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/exception-handling.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ Caught java.lang.AssertionError
145145
Cancellation is tightly bound with exceptions. Coroutines internally use `CancellationException` for cancellation, these
146146
exceptions are ignored by all handlers, so they should be used only as the source of additional debug information, which can
147147
be obtained by `catch` block.
148-
When a coroutine is cancelled using [Job.cancel] without a cause, it terminates, but it does not cancel its parent.
149-
Cancelling without cause is a mechanism for parent to cancel its children without cancelling itself.
148+
When a coroutine is cancelled using [Job.cancel], it terminates, but it does not cancel its parent.
150149

151150
<div class="sample" markdown="1" theme="idea" data-min-compiler-version="1.3">
152151

0 commit comments

Comments
 (0)