closeAll

open override fun closeAll()

Closes this scope and clears all of its cached singleton instances. This is typically called when the lifecycle associated with this scope ends (e.g., Activity.onDestroy()). Note: This does not close parent or child scopes.