Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d77d17c2 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "Fix cursor memory leak"

parents 2278e60c 3f824c0e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) { }
    }

    /**