onClose
may not be called for eagely initialized instances if override happens
#2001
Labels
Milestone
onClose
may not be called for eagely initialized instances if override happens
#2001
Describe the bug
onClose
may not be called for eagely initialized instances if override happensTo Reproduce
Run this code:
See output:
Expected behavior
onClose
is called for both 'original' and 'override' instances. (Cleaning up 'original', releasing resources
is printed too)Actual behavior
onClose
is called only for 'override' instance, possible leak.Koin module and version:
koin-core:4.0.0
The text was updated successfully, but these errors were encountered: