question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instances seem not to be released

See original GitHub issue

Description 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:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
StephaneBgcommented, Jul 12, 2018

Thanks, this method should be added to the documentation 😃

0reactions
StephaneBgcommented, Jul 19, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found