When accessing ktor from worker thread gives error...
# kotlin-native
j
When accessing ktor from worker thread gives error: Trying to access top level value not marked as @ThreadLocal or @SharedImmutable from non-main thread. All variables are initialized inside of the job and the string constant "OK" is returned
s
a
This issue is already fixed and will be gone in ktor v
1.3.0
, please stay tuned.
j
Is there a previous version that doesn't have this issue?
🚫 1
s
Since this is ktor issue, this question is to be asked in #ktor or https://github.com/ktorio/ktor/issues/1183.