File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import kotlinx.coroutines.experimental.selects.SelectBuilder
26
26
import kotlinx.coroutines.experimental.selects.SelectInstance
27
27
import kotlinx.coroutines.experimental.selects.select
28
28
import java.util.concurrent.Future
29
- import kotlin.coroutines.experimental.AbstractCoroutineContextElement
30
29
import kotlin.coroutines.experimental.Continuation
31
30
import kotlin.coroutines.experimental.CoroutineContext
32
31
@@ -376,7 +375,9 @@ public object NonDisposableHandle : DisposableHandle {
376
375
* @param active when `true` the job is created in _active_ state, when `false` in _new_ state. See [Job] for details.
377
376
* @suppress **This is unstable API and it is subject to change.**
378
377
*/
379
- public open class JobSupport (active : Boolean ) : AbstractCoroutineContextElement(Job ), Job {
378
+ public open class JobSupport (active : Boolean ) : Job {
379
+ override val key: CoroutineContext .Key <* > get() = Job
380
+
380
381
/*
381
382
=== Internal states ===
382
383
You can’t perform that action at this time.
0 commit comments