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
2626import kotlinx.coroutines.experimental.selects.SelectInstance
2727import kotlinx.coroutines.experimental.selects.select
2828import java.util.concurrent.Future
29- import kotlin.coroutines.experimental.AbstractCoroutineContextElement
3029import kotlin.coroutines.experimental.Continuation
3130import kotlin.coroutines.experimental.CoroutineContext
3231
@@ -376,7 +375,9 @@ public object NonDisposableHandle : DisposableHandle {
376375 * @param active when `true` the job is created in _active_ state, when `false` in _new_ state. See [Job] for details.
377376 * @suppress **This is unstable API and it is subject to change.**
378377 */
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+
380381 /*
381382 === Internal states ===
382383
You can’t perform that action at this time.
0 commit comments