am d04ef0fd: am 5c5f3a0d: Fix issue w/ race condition leading to log spam

Merge commit 'd04ef0fd19e06d6ee2afb39f571b720a28478936'

* commit 'd04ef0fd19e06d6ee2afb39f571b720a28478936':
  Fix issue w/ race condition leading to log spam
This commit is contained in:
Marc Blank 2010-10-07 12:21:37 -07:00 committed by Android Git Automerger
commit 07dc502e26

View File

@ -1770,8 +1770,8 @@ public class ExchangeService extends Service implements Runnable {
alwaysLog("!!! EAS ExchangeService, onDestroy");
// Stop the sync manager thread and return
synchronized (sSyncLock) {
sStop = true;
if (sServiceThread != null) {
sStop = true;
sServiceThread.interrupt();
}
}