Hello! I am using several modules which I load/unl...
# koin
d
Hello! I am using several modules which I load/unload. Some of them I mass-unload automatically at signout to be safe, which has been working fine even if a module was not initially loaded. However, I just added a scope definition to one of them and now unloading that module crashes on the scoped component if the scope was not open. Any suggestions? Appreciate any help! I’m on
Copy code
org.koin:koin-androidx-viewmodel:2.2.0-rc-4
Copy code
Caused by: java.lang.IllegalStateException: Can't find scope for definition [Single:'MyScopedSingle',scope:q:'MyScopeComponent']
        at org.koin.core.registry.ScopeRegistry.unloadModules(ScopeRegistry.kt:167)