mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 17:27:00 +00:00
Small improvement
This commit is contained in:
parent
96781e7e13
commit
5d39cb7f40
1 changed files with 3 additions and 1 deletions
|
@ -808,8 +808,10 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
t.start();
|
t.start();
|
||||||
try {
|
try {
|
||||||
t.join(STORE_CLOSE_TIMEOUT);
|
t.join(STORE_CLOSE_TIMEOUT);
|
||||||
} catch (InterruptedException ex) {
|
if (t.isAlive())
|
||||||
Log.w(Helper.TAG, account.name + " Close timeout");
|
Log.w(Helper.TAG, account.name + " Close timeout");
|
||||||
|
} catch (InterruptedException ex) {
|
||||||
|
Log.w(Helper.TAG, account.name + " close wait " + ex.toString());
|
||||||
t.interrupt();
|
t.interrupt();
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in a new issue