Christian Sousa
03/20/2020, 11:31 AMUncaught Kotlin exception: kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen com.jetbrains.handson.mpp.mobile.services.deviceStorage.DeviceStorage@2164548
Even though my DeviceStorage has
import kotlin.native.concurrent.ThreadLocal
@ThreadLocal
object DeviceStorage {
...
}
Anyone knows how to get this to work?kpgalligan
03/20/2020, 12:10 PMDeviceStorage
? It’s also possible something else is freezing DeviceStorage
, even if the runtime isn’t doing so automatically (call ensureNeverFrozen()
on it)