You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I quickly cancel the job in the onDestroy function of my presenter
fun destroy() {
supervisorJob.cancel()
}
My SingleSource isn't disposed:
suspend fun downloadThing(thingId: String) {
service.download(thingId)
.doOnDispose { Timber.d("DISPOSED") } // This is never called
.doOnError { Timber.d("ERROR") } // This is called only after the network call completes (leaked)
.await()
}
Using version 1.3.2