russhwolf / multiplatform-settings

A Kotlin Multiplatform library for saving simple key-value data
Apache License 2.0
1.69k stars 67 forks source link

Thread-safety for AppleSettings background listeners #49

Closed russhwolf closed 4 years ago

russhwolf commented 4 years ago

Trying to avoid forcing listeners to always freeze, by checking if the Settings is frozen and using that to signal whether listeners get frozen. I can't decide if that's elegant or terrible.

russhwolf commented 4 years ago

This was rebased and merged as part of 0.6