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

Commit f9f3fe97 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 487e079b: am de9d40d4: am 64ed6b2c: am d77d17c2: Merge "Fix cursor memory leak"

* commit '487e079b':
  Fix cursor memory leak
parents 7ebe1bff 487e079b
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) { }
    }

    /**