am 692135ef: am 76adcd6e: am ea4e76f6: Merge "Fix finalizer ordering/double-free issue" into lmp-mr1-dev
* commit '692135effb19df4da42ab8070ebdb29479bd9df0': Fix finalizer ordering/double-free issue
This commit is contained in:
@@ -603,15 +603,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);
|
||||
|
||||
Reference in New Issue
Block a user