Small improvement

pull/125/head
M66B 6 years ago
parent 96781e7e13
commit 5d39cb7f40

@ -808,8 +808,10 @@ public class ServiceSynchronize extends LifecycleService {
t.start();
try {
t.join(STORE_CLOSE_TIMEOUT);
if (t.isAlive())
Log.w(Helper.TAG, account.name + " Close timeout");
} catch (InterruptedException ex) {
Log.w(Helper.TAG, account.name + " Close timeout");
Log.w(Helper.TAG, account.name + " close wait " + ex.toString());
t.interrupt();
}
} finally {

Loading…
Cancel
Save