Skip to content

Commit 615ace2

Browse files
authored
Using the same logic as packNanos in the code below (#2463)
Signed-off-by: slavon <[email protected]>
1 parent 3aba905 commit 615ace2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/jvm/src/Builders.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private class BlockingCoroutine<T>(
6969
override fun afterCompletion(state: Any?) {
7070
// wake up blocked thread
7171
if (Thread.currentThread() != blockedThread)
72-
LockSupport.unpark(blockedThread)
72+
unpark(blockedThread)
7373
}
7474

7575
@Suppress("UNCHECKED_CAST")

0 commit comments

Comments
 (0)