am 0d47af11
: Merge "Clear loaders array after they are destroyed."
# By Roman Mazur # Via Gerrit Code Review (1) and Roman Mazur (1) * commit '0d47af1131c4d4f9f29dad790d919d8599e3a3cc': Clear loaders array after they are destroyed.
This commit is contained in:
@ -833,6 +833,7 @@ class LoaderManagerImpl extends LoaderManager {
|
|||||||
for (int i = mLoaders.size()-1; i >= 0; i--) {
|
for (int i = mLoaders.size()-1; i >= 0; i--) {
|
||||||
mLoaders.valueAt(i).destroy();
|
mLoaders.valueAt(i).destroy();
|
||||||
}
|
}
|
||||||
|
mLoaders.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DEBUG) Log.v(TAG, "Destroying Inactive in " + this);
|
if (DEBUG) Log.v(TAG, "Destroying Inactive in " + this);
|
||||||
|
Reference in New Issue
Block a user