https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
f

Francis Mariano

03/01/2023, 7:33 PM
Hello everyone. Is it possible to create a singleton using object in common module? my singleton need to have a var but I get the message
With old Native GC, variable in singleton without @ThreadLocal can't be changed after initialization
The new memory model is enabled
l

Landry Norris

03/01/2023, 8:00 PM
If you're using the new mm, it's fine. The message still shows.
f

Francis Mariano

03/01/2023, 8:03 PM
ok, tks a lot
12 Views