mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 18:01:49 +01:00
adding doOnError for pager holder to close stream as well
just to be safe
This commit is contained in:
parent
154c6d0320
commit
cb7159d22e
@ -408,6 +408,11 @@ class PagerPageHolder(
|
||||
openStream?.close()
|
||||
} catch (e: Exception) {}
|
||||
}
|
||||
.doOnError {
|
||||
try {
|
||||
openStream?.close()
|
||||
} catch (e: Exception) {}
|
||||
}
|
||||
.subscribe({}, {})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user