fixed insecure override

This commit is contained in:
Khosraw Azizi 2022-11-02 00:23:01 -05:00
parent cb5df17a8f
commit 90e8616bd5

View file

@ -82,7 +82,7 @@ class AprilTagDetectionPipeline extends OpenCvPipeline {
}
@Override
public void finalize() {
protected void finalize() {
// Might be null if createApriltagDetector() threw an exception
if (nativeApriltagPtr != 0) {
// Delete the native context we created in the constructor