Nearby Presenter: Close channel properly

This commit is contained in:
Tanmay Gupta 2024-12-20 04:02:57 +05:30 committed by GitHub
parent cd9e724cf8
commit e70db1476c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -373,10 +373,11 @@ class NearbyParentFragmentPresenter
} }
} }
schedulePlacesUpdate(updatedGroups) schedulePlacesUpdate(updatedGroups)
if (collectCount++ == totalBatches) { if (++collectCount == totalBatches) {
break break
} }
} }
collectResults.close()
} }
} }