why
11/27/2020, 2:57 PMkotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen kotlin.collections.HashMap@dac14b48
Basically I have a static hashmap to serve caching purposes, since KMP doesn’t have a ConcurrentHashMap -yet, right?- I’m testing using a normal hashmap and reentrantLock() from kotlinx.atomicfu, the hashmap is static - in companion object{} - it always fails in native when you try to put something in itlouiscad
11/27/2020, 5:10 PMlouiscad
11/27/2020, 5:10 PM