mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-05 15:49:22 +00:00
Stop pagers silently if the underlying object is closed
This commit is contained in:
parent
a4d4835a89
commit
8b3b27a2a8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ abstract class JSPager<T> : IPager<T> {
|
|||
}
|
||||
|
||||
override fun hasMorePages(): Boolean {
|
||||
return _hasMorePages;
|
||||
return _hasMorePages && !pager.isClosed;
|
||||
}
|
||||
|
||||
override fun nextPage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue