Open YervandAleksanyan opened 5 years ago
Hi Yervand. Thanks for reaching out. What versions of Koin and CoroutineCache are you using?
Recently, Koin version inside CoroutineCache was updated to 2.0.1 - most probably that is the reason of your troubles.
@Dartlexx hi thanks for the response, I using Koin version 2.0.1 CoroutineCache 0.9.4 I have the multi-module app, can that dependent with this exception??
@yauheni-parakhnevich It definitely seems to be an issue with Koin setup - whether in this library or in your project. Can you tell me please, how many instances of CoroutineCache object exist in your app at any point of time?
I was able to reproduce this issue by declaring CoroutineCache provider as factory, instead of single. Please, try to replace:
factory {
CoroutinesCache(CacheParams(....))
}
with:
single {
CoroutinesCache(CacheParams(....))
}
Hi I used this library, and I have runtime exception with this stack trace
Thanks for attention.