commit | 8c8551e7dbea7c2467060c2d3c6aa1c54c721e68 | [log] [tgz] |
---|---|---|
author | Roman Elizarov <elizarov@gmail.com> | Fri Feb 10 13:14:35 2017 +0300 |
committer | Roman Elizarov <elizarov@gmail.com> | Fri Feb 10 13:14:35 2017 +0300 |
tree | 722e55565193f748b64310b134d73892a8319777 | |
parent | e0c817d9c4fd4d81fa03a1baaa9795a842792e6c [diff] |
Doc fixed
diff --git a/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt b/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt index 8c06a34..0ce3d75 100644 --- a/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt +++ b/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt
@@ -178,7 +178,7 @@ * * This is a shortcut for the following code with slightly more efficient implementation (one fewer object created). * ``` - * onCompletion { future.cancel(true) } + * onCompletion { future.cancel(false) } * ``` */ public fun Job.cancelFutureOnCompletion(future: Future<*>): Job.Registration =