mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
1.1731 release
This commit is contained in:
@@ -2173,16 +2173,17 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
// Stop watching operations
|
||||
Log.i(account.name + " stop watching operations");
|
||||
final TwoStateOwner _owner = cowner.value;
|
||||
getMainHandler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
_owner.destroy();
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
if (_owner != null)
|
||||
getMainHandler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
_owner.destroy();
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Stop executing operations
|
||||
Log.i(account.name + " stop executing operations");
|
||||
|
||||
Reference in New Issue
Block a user