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 c45f5fa commit 9a0d8acCopy full SHA for 9a0d8ac
common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental/Dispatched.kt
@@ -177,8 +177,7 @@ public fun <T> DispatchedTask<T>.dispatch(mode: Int = MODE_CANCELLABLE) {
177
// dispatch directly using this instance's Runnable implementation
178
val dispatcher = delegate.dispatcher
179
val context = delegate.context
180
- if (dispatcher.isDispatchNeeded(context)
181
- ) {
+ if (dispatcher.isDispatchNeeded(context)) {
182
dispatcher.dispatch(context, this)
183
return // and that's it -- dispatched via fast-path
184
} else {
0 commit comments