https://kotlinlang.org logo
#koin
Title
# koin
b

Bao Le Duc

06/28/2022, 7:41 AM
Hi, I have a question about scope. How does closing a scope work with JVM garbage collector? Should we always call
scope.close()
whenever we don’t need the scope instance? (I’m new to Koin)
a

arnaud.giuliani

06/28/2022, 8:09 AM
yes you need to close a scope when you don’y need it anymore. It will let the garbage collection run on it
b

Bao Le Duc

06/29/2022, 6:02 AM
thanks!
2 Views