Instances seem not to be released
See original GitHub issueDescription
I need to release all instances to load again the modules. After the use of release(PATH), I get an error because I try to override a definition:
Caused by: org.koin.error.BeanOverrideException: Try to override definition Single [class='com.sbgapps.sandwich.model.Bread', path:'com.sbgapps'] with Single [class='com.sbgapps.sandwich.model.Bread', path:'com.sbgapps'], but override is not allowed.
To Reproduce I wrote a sample to show the behavior: https://github.com/StephaneBg/sandwich Crash occurs when a click is performed on the button.
Expected behavior Release of all resources and ability to load them again.
Koin version org.koin:koin-android:1.0.0-beta-3
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Why is my EC2 instance not appearing under Managed ...
My Amazon Elastic Compute Cloud (Amazon EC2) instance doesn't appear under Managed Instances in the AWS Systems Manager console.
Read more >Overwriting object instance does not release memory?
In this case, listOfThings is a class attribute, it is shared amongst all instances of the MyCollection class. Instead, you want an instance...
Read more >Running TM1 instances do not appear in the list of ... - IBM
Problem. In TM1 Architect, the list of available servers do not show running TM1 instances. Thus, users are unable to access any TM1...
Read more >Seems not available | English examples in context - Ludwig
High quality example sentences with “Seems not available” in context from reliable sources - Ludwig is the linguistic search engine that helps you...
Read more >Troubleshoot common issues - Azure Container Instances
This error is most often encountered when deploying Windows images that are based on Semi-Annual Channel release 1709 or 1803, which are not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, this method should be added to the documentation 😃
Hello, by the way it is not logical to name the method closeKoin. You can’t close something you start, it should be stopKoin. Its is the counterpart of startKoin.