Fixed ContinuationImpl.intercepted
This commit is contained in:
committed by
Denis Zharkov
parent
7513557315
commit
0b17c619bc
+1
-1
@@ -97,7 +97,7 @@ internal abstract class ContinuationImpl protected constructor(
|
|||||||
public fun intercepted(): Continuation<Any?> =
|
public fun intercepted(): Continuation<Any?> =
|
||||||
intercepted
|
intercepted
|
||||||
?: (context[ContinuationInterceptor]?.interceptContinuation(this) ?: this)
|
?: (context[ContinuationInterceptor]?.interceptContinuation(this) ?: this)
|
||||||
.also { intercepted = this }
|
.also { intercepted = it }
|
||||||
|
|
||||||
protected override fun releaseIntercepted() {
|
protected override fun releaseIntercepted() {
|
||||||
val intercepted = intercepted
|
val intercepted = intercepted
|
||||||
|
|||||||
Reference in New Issue
Block a user