Fixed crash

This commit is contained in:
M66B 2019-12-10 21:51:41 +01:00
parent 241ecce752
commit a700d37fa7
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
public void onChanged(List<TupleAccountNetworkState> accountNetworkStates) {
if (accountNetworkStates == null) {
// Destroy
for (TupleAccountNetworkState prev : serviceStates.keySet())
for (TupleAccountNetworkState prev : new ArrayList<>(serviceStates.keySet()))
stop(prev);
quit();