1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Always check for errors

This commit is contained in:
M66B 2018-11-29 10:56:12 +01:00
parent 8d94ac7df6
commit b09ab7c2c5

View file

@ -1184,7 +1184,7 @@ public class ServiceSynchronize extends LifecycleService {
// Keep alive
AlarmManager am = getSystemService(AlarmManager.class);
try {
while (state.alive()) {
while (state.running()) {
if (!istore.isConnected())
throw new StoreClosedException(istore);