https://kotlinlang.org logo
#kotlin-inject
Title
# kotlin-inject
p

Paul Woitaschek

07/19/2022, 11:31 AM
@evant I noticed that kotlin-inject doens’t have any synchronization logic for native. This is quite error prone as objects might be created multiple times though they are scoped. What do you think about making use of a lock on native like implemented here? https://github.com/InsertKoinIO/koin/blob/1326329060e6b923f9a54873178e55cdddc4d99e/core/koin-core/src/nativeMain/kotlin/org/koin/mp/KoinPlatformTools.kt#L29
e

evant

07/19/2022, 5:26 PM
p

Paul Woitaschek

07/19/2022, 5:30 PM
Woot? Where did I see that? 🙈
12 Views