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:
parent
8d94ac7df6
commit
b09ab7c2c5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue