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:
@@ -63,7 +63,7 @@ public class SummaryLoader {
|
||||
}
|
||||
|
||||
public void release() {
|
||||
mWorkerThread.quit();
|
||||
mWorkerThread.quitSafely();
|
||||
}
|
||||
|
||||
public void setAdapter(DashboardAdapter adapter) {
|
||||
|
Reference in New Issue
Block a user