mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Nearby Presenter: Close channel properly
This commit is contained in:
parent
cd9e724cf8
commit
e70db1476c
1 changed files with 2 additions and 1 deletions
|
|
@ -373,10 +373,11 @@ class NearbyParentFragmentPresenter
|
|||
}
|
||||
}
|
||||
schedulePlacesUpdate(updatedGroups)
|
||||
if (collectCount++ == totalBatches) {
|
||||
if (++collectCount == totalBatches) {
|
||||
break
|
||||
}
|
||||
}
|
||||
collectResults.close()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue