Merge commit 'd04ef0fd19e06d6ee2afb39f571b720a28478936' * commit 'd04ef0fd19e06d6ee2afb39f571b720a28478936': Fix issue w/ race condition leading to log spam
This commit is contained in:
commit
07dc502e26
@ -1770,8 +1770,8 @@ public class ExchangeService extends Service implements Runnable {
|
|||||||
alwaysLog("!!! EAS ExchangeService, onDestroy");
|
alwaysLog("!!! EAS ExchangeService, onDestroy");
|
||||||
// Stop the sync manager thread and return
|
// Stop the sync manager thread and return
|
||||||
synchronized (sSyncLock) {
|
synchronized (sSyncLock) {
|
||||||
sStop = true;
|
|
||||||
if (sServiceThread != null) {
|
if (sServiceThread != null) {
|
||||||
|
sStop = true;
|
||||||
sServiceThread.interrupt();
|
sServiceThread.interrupt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user