* commit 'de9d40d445eb7e095ef1f988bf24695da525c772': Fix cursor memory leak
This commit is contained in:
committed by
Android Git Automerger
commit
487e079b6a
@@ -424,6 +424,9 @@ public abstract class AbstractCursor implements CrossProcessCursor {
|
||||
if (mSelfObserver != null && mSelfObserverRegistered == true) {
|
||||
mContentResolver.unregisterContentObserver(mSelfObserver);
|
||||
}
|
||||
try {
|
||||
if (!mClosed) close();
|
||||
} catch(Exception e) { }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user