Stop pagers silently if the underlying object is closed

This commit is contained in:
Kelvin
2025-07-07 16:04:19 +02:00
parent a4d4835a89
commit 8b3b27a2a8
@@ -41,7 +41,7 @@ abstract class JSPager<T> : IPager<T> {
}
override fun hasMorePages(): Boolean {
return _hasMorePages;
return _hasMorePages && !pager.isClosed;
}
override fun nextPage() {