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

Commit ea4e76f6 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Fix finalizer ordering/double-free issue" into lmp-mr1-dev

parents 975590f2 c298f9c9
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -604,15 +604,6 @@ public class Surface implements Parcelable {
                mHwuiRenderer = 0;
            }
        }

        @Override
        protected void finalize() throws Throwable {
            try {
                destroy();
            } finally {
                super.finalize();
            }
        }
    }

    private static native long nHwuiCreate(long rootNode, long surface);