* commit '64ed6b2cfa6a4bb58f3f8a9b59d840cdce049c80': Fix cursor memory leak
This commit is contained in:
committed by
Android Git Automerger
commit
de9d40d445
@@ -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