Join Slack
Powered by
When accessing ktor from worker thread gives error...
# kotlin-native
j
Jeremy
08/11/2019, 4:04 AM
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
Is ktor worker supported or is usage incorrect?
s
svyatoslav.scherbina
08/12/2019, 1:12 PM
May be related:
https://github.com/ktorio/ktor/issues/1183
a
Artyom Degtyarev [JB]
08/12/2019, 1:52 PM
This issue is already fixed and will be gone in ktor v
1.3.0
, please stay tuned.
j
Jeremy
08/12/2019, 2:08 PM
Is there a previous version that doesn't have this issue?
🚫 1
s
svyatoslav.scherbina
08/12/2019, 2:28 PM
Since this is ktor issue, this question is to be asked in
#ktor
or
https://github.com/ktorio/ktor/issues/1183
.
16
Views
Open in Slack
Previous
Next