HankG
10/24/2020, 2:37 PMUncaught Kotlin exception: kotlin.IllegalStateException: Cannot execute task because event loop was shut down
with the CIO client explicitly selected when creating the HttpClient. It's code that works under the JVM though.John O'Reilly
10/24/2020, 2:44 PMJohn O'Reilly
10/24/2020, 2:45 PMHankG
10/24/2020, 2:46 PMHankG
10/24/2020, 2:46 PMHankG
10/24/2020, 2:46 PMJohn O'Reilly
10/24/2020, 2:47 PMHankG
10/24/2020, 2:47 PMJohn O'Reilly
10/24/2020, 2:48 PMconst val kotlin = "1.4.10"
const val kotlinCoroutines = "1.3.9-native-mt"
const val ktor = "1.4.0"
const val kotlinxSerialization = "1.0.0-RC"
John O'Reilly
10/24/2020, 2:49 PMisForce
use in https://github.com/joreilly/PeopleInSpace/blob/master/common/build.gradle.kts ...not having this might be causing you issueHankG
10/24/2020, 2:51 PMimplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") {
version {
strictly(coroutinesVersion)
}
}
HankG
10/24/2020, 2:51 PMJohn O'Reilly
10/24/2020, 2:52 PMstrictly
is I think the more recommended approach and meant to change to use that....don't think it should behave differently to isForce
HankG
10/24/2020, 2:54 PMHankG
10/24/2020, 3:57 PMHankG
10/24/2020, 4:23 PM