Merge "Clear loaders array after they are destroyed."

This commit is contained in:
Jeffrey Brown
2013-02-07 03:59:20 +00:00
committed by Gerrit Code Review

View File

@@ -833,6 +833,7 @@ class LoaderManagerImpl extends LoaderManager {
for (int i = mLoaders.size()-1; i >= 0; i--) {
mLoaders.valueAt(i).destroy();
}
mLoaders.clear();
}
if (DEBUG) Log.v(TAG, "Destroying Inactive in " + this);