Merge change 27056 into eclair
* changes: Add check in SyncManager before stopping thread (fixes #2131380)
This commit is contained in:
commit
e06706987a
@ -564,7 +564,10 @@ public class SyncManager extends Service implements Runnable {
|
||||
AbstractSyncService svc = INSTANCE.mServiceMap.get(mid);
|
||||
if (svc != null) {
|
||||
svc.stop();
|
||||
svc.mThread.interrupt();
|
||||
Thread t = svc.mThread;
|
||||
if (t != null) {
|
||||
t.interrupt();
|
||||
}
|
||||
}
|
||||
deletedBoxes.add(mid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user