Fixes ConcurrentModificationException when multiple clients exist and one client is disconnected on connect.
Proposed Changes
Iterates a over copy of the connection callbacks set stored in the FusedLocationServiceConnectionManager when the fused location service is either connected or suspended. This prevent a ConcurrentModificationException if callbacks are removed during iteration.
Overview
Fixes
ConcurrentModificationException
when multiple clients exist and one client is disconnected on connect.Proposed Changes
Iterates a over copy of the connection callbacks set stored in the
FusedLocationServiceConnectionManager
when the fused location service is either connected or suspended. This prevent aConcurrentModificationException
if callbacks are removed during iteration.Fixes #162