adding doOnError for pager holder to close stream as well

just to be safe
This commit is contained in:
Jays2Kings 2021-05-10 19:42:04 -04:00
parent 154c6d0320
commit cb7159d22e

View File

@ -408,6 +408,11 @@ class PagerPageHolder(
openStream?.close()
} catch (e: Exception) {}
}
.doOnError {
try {
openStream?.close()
} catch (e: Exception) {}
}
.subscribe({}, {})
}