We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0c817d commit 8c8551eCopy full SHA for 8c8551e
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt
@@ -178,7 +178,7 @@ public fun Job.unregisterOnCompletion(registration: Job.Registration): Job.Regis
178
*
179
* This is a shortcut for the following code with slightly more efficient implementation (one fewer object created).
180
* ```
181
- * onCompletion { future.cancel(true) }
+ * onCompletion { future.cancel(false) }
182
183
*/
184
public fun Job.cancelFutureOnCompletion(future: Future<*>): Job.Registration =
0 commit comments