|
|
@ -420,9 +420,9 @@ public class VehicleWheel implements Savable { |
|
|
|
protected void finalize() throws Throwable { |
|
|
|
protected void finalize() throws Throwable { |
|
|
|
super.finalize(); |
|
|
|
super.finalize(); |
|
|
|
Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Finalizing Wheel {0}", Long.toHexString(wheelId)); |
|
|
|
Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Finalizing Wheel {0}", Long.toHexString(wheelId)); |
|
|
|
if (wheelId != 0 && wheelIndex != 0) { |
|
|
|
// if (wheelId != 0 && wheelIndex != 0) {
|
|
|
|
finalizeNative(wheelId, wheelIndex); |
|
|
|
// finalizeNative(wheelId, wheelIndex);
|
|
|
|
} |
|
|
|
// }
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private native void finalizeNative(long wheelId, int wheelIndex); |
|
|
|
private native void finalizeNative(long wheelId, int wheelIndex); |
|
|
|