MCPcopy Create free account
hub / github.com/java-native-access/jna / finalize

Method finalize

src/com/sun/jna/Native.java:334–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332 /** Force a dispose when the Native class is GC'd. */
333 private static final Object finalizer = new Object() {
334 @Override
335 protected void finalize() throws Throwable {
336 dispose();
337 super.finalize();
338 }
339 };
340
341 /** Properly dispose of JNA functionality.

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.95

Tested by

no test coverage detected