Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Commit ccd5770

Browse files
authored
Update to 1.6.10
2 parents d8cf5c2 + 1a2f5bc commit ccd5770

8 files changed

Lines changed: 9 additions & 22 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Specs
88

99
- Supported on Native, JVM, and JS (legacy and IR) (feel free to contribute adding more targets)
10-
- Kotlin 1.6.0
10+
- Kotlin 1.6.10
1111

1212
## Gradle
1313

@@ -18,7 +18,7 @@ kotlin {
1818
sourceSets {
1919
commonMain {
2020
dependencies {
21-
implementation "com.autodesk:coroutineworker:0.8.0"
21+
implementation "com.autodesk:coroutineworker:0.8.1"
2222
}
2323
}
2424
}

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
33
import org.jetbrains.kotlin.gradle.targets.js.KotlinJsTarget
44
import org.jetbrains.kotlin.konan.target.HostManager
55

6-
val coroutinesVersion = "1.5.2"
7-
val atomicfuVersion = "0.16.3"
6+
val coroutinesVersion = "1.6.0"
7+
val atomicfuVersion = "0.17.0"
88

99
plugins {
10-
kotlin("multiplatform") version "1.6.0"
10+
kotlin("multiplatform") version "1.6.10"
1111
id("org.jetbrains.dokka") version "0.10.0"
1212
id("maven-publish")
1313
id("signing")

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
VERSION=0.8.0
1+
VERSION=0.8.1
22

33
kotlin.mpp.enableGranularSourceSetsMetadata=true
44
kotlin.mpp.enableCompatibilityMetadataVariant=true
5+
kotlin.mpp.stability.nowarn=true

src/appleMain/kotlin/com/autodesk/coroutineworker/AutoreleasePool.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/linuxX64Main/kotlin/com/autodesk/coroutineworker/AutoreleasePool.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/mingwX64Main/kotlin/com/autodesk/coroutineworker/AutoreleasePool.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/nativeMain/kotlin/com/autodesk/coroutineworker/AutoreleasePool.kt

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/nativeMain/kotlin/com/autodesk/coroutineworker/CoroutineWorker.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,9 @@ public actual class CoroutineWorker internal actual constructor() {
9595
var completed = false
9696
try {
9797
repeatedlyCheckForCancellation(this.coroutineContext, cancelled) { completed }
98-
// inside of a new CoroutineScope, so that child jobs are cancelled
98+
// inside a new CoroutineScope, so that child jobs are cancelled
9999
coroutineScope {
100-
autoreleasepool {
101-
block()
102-
}
100+
block()
103101
}
104102
} finally {
105103
completed = true

0 commit comments

Comments
 (0)