mirror of https://github.com/M66B/FairEmail.git
Fixed crash
This commit is contained in:
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…
Reference in New Issue