Fixed crash

pull/169/head
M66B 5 years ago
parent 241ecce752
commit a700d37fa7

@ -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();

Loading…
Cancel
Save