()
| 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. |