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

Commit 0e8c7aa4 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am 77ecf0bb: Merge "Don\'t make HardwareRenderer calls in the finalizer"

* commit '77ecf0bb':
  Don't make HardwareRenderer calls in the finalizer
parents a173534c 77ecf0bb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -909,7 +909,6 @@ public class RenderNode {
    @Override
    protected void finalize() throws Throwable {
        try {
            destroyDisplayListData();
            nDestroyDisplayList(mNativeDisplayList);
        } finally {
            super.finalize();
+1 −0
Original line number Diff line number Diff line
@@ -253,6 +253,7 @@ public class ThreadedRenderer extends HardwareRenderer {
    protected void finalize() throws Throwable {
        try {
            nDeleteProxy(mNativeProxy);
            mNativeProxy = 0;
        } finally {
            super.finalize();
        }