This repository has been archived by the owner on Apr 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes ConcurrentModificationException when client is disconnected on …
…connect (#163) * Fixes ConcurrentModificationException when client is disconnected on connect Iterates a over copy of the connection callbacks set when the fused location service is connected or suspended to prevent a ConcurrentModificationException if callbacks are removed during iteration. This issue occurs when there are multiple clients and a single client is disconnected in one of its `ConnectionCallbacks` methods. Fixes #162 * Make copy `ArrayList` instead of `HashSet` to save memory
- Loading branch information
Showing
2 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters