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

This commit is contained in:
John Reck
2014-11-07 19:29:45 +00:00
committed by Android (Google) Code Review

View File

@@ -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);