Stop pagers silently if the underlying object is closed

This commit is contained in:
Kelvin 2025-07-07 16:04:19 +02:00
commit 8b3b27a2a8

View file

@ -41,7 +41,7 @@ abstract class JSPager<T> : IPager<T> {
}
override fun hasMorePages(): Boolean {
return _hasMorePages;
return _hasMorePages && !pager.isClosed;
}
override fun nextPage() {