SummaryLoader: Make sure all messages are proccessed on release

Otherwise the receivers don't get unregistered, which causes a warning,
immediately followed by them actually getting unregistered, which
causes a crash.

Bug: 26027137
Change-Id: Ib55edb4490de960d10036c35d98b8a8e31e13ae1
This commit is contained in:
Jason Monk
2016-03-02 15:08:41 -05:00
parent 664f94e07b
commit 816959889e

View File

@@ -63,7 +63,7 @@ public class SummaryLoader {
}
public void release() {
mWorkerThread.quit();
mWorkerThread.quitSafely();
}
public void setAdapter(DashboardAdapter adapter) {