am 76adcd6e: am ea4e76f6: Merge "Fix finalizer ordering/double-free issue" into lmp-mr1-dev

* commit '76adcd6ec551637f57f2630a60f6cdb2bbbf908b':
  Fix finalizer ordering/double-free issue
This commit is contained in:
John Reck
2014-11-07 19:41:08 +00:00
committed by Android Git Automerger

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