mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
4f45c27e8f
commit
913070deb2
|
@ -1598,7 +1598,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
} finally {
|
} finally {
|
||||||
// Update state
|
// Update state
|
||||||
EntityLog.log(this, account.name + " closing");
|
EntityLog.log(this, account.name + " closing");
|
||||||
db.account().setAccountState(account.id, "closing");
|
|
||||||
|
|
||||||
// Stop watching operations
|
// Stop watching operations
|
||||||
Log.i(account.name + " stop watching operations");
|
Log.i(account.name + " stop watching operations");
|
||||||
|
@ -1631,6 +1630,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
|
|
||||||
// Close store
|
// Close store
|
||||||
try {
|
try {
|
||||||
|
db.account().setAccountState(account.id, "closing");
|
||||||
EntityLog.log(this, account.name + " store closing");
|
EntityLog.log(this, account.name + " store closing");
|
||||||
iservice.close();
|
iservice.close();
|
||||||
EntityLog.log(this, account.name + " store closed");
|
EntityLog.log(this, account.name + " store closed");
|
||||||
|
|
Loading…
Reference in New Issue