Skip to content

Commit c828764

Browse files
committed
AMMEND (MOVE SOURCES)
1 parent 7712ece commit c828764

File tree

13 files changed

+2
-10
lines changed

13 files changed

+2
-10
lines changed

kotlinx-coroutines-core/jsWasm/src/flow/internal/SafeCollector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ internal actual class SafeCollector<T> actual constructor(
2929

3030
public actual fun releaseIntercepted() {
3131
}
32-
}
32+
}

kotlinx-coroutines-core/wasm/src/internal/CopyOnWriteList.kt renamed to kotlinx-coroutines-core/wasmJs/src/internal/CopyOnWriteList.kt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,9 @@
44

55
package kotlinx.coroutines.internal
66

7-
import kotlinx.atomicfu.*
8-
9-
// Copy of Native implementation
10-
117
@Suppress("UNCHECKED_CAST")
128
internal class CopyOnWriteList<E> : AbstractMutableList<E>() {
13-
14-
private val _array = atomic(arrayOfNulls<Any?>(0))
15-
private var array: Array<Any?>
16-
get() = _array.value
17-
set(value) { _array.value = value }
9+
private var array: Array<Any?> = arrayOfNulls<Any?>(0)
1810

1911
override val size: Int
2012
get() = array.size

0 commit comments

Comments
 (0)