I've created an applicationScope in my Android Application class for operations that should outlive the viewModelScope and the lifecycleScope, like this:
class App : Application() {
val applicationScope = CoroutineScope(...)
Should we automatically cancel the applicationScope in order to avoid leaks or for other reasons? I'm asking because I've seen some projects where people would call
applicationScope.cancel()
when their main activity would be destroyed or when the user wants to close the app. Is this necessary in some scenarios?