Major changes
Added an option to manually release objects
import { importClass, deleteObject } from 'java-bridge';
const JString = importClass('java.lang.String');
const string = new JString('Hello World');
// Release the string, allowing the java process to garbage collect it
deleteObject(string);
What's Changed
- fix(bridge): local references not being deleted by @MarkusJx in #99
- fix(bridge): proxy memory not being freed by @MarkusJx in #100
- docs: fix title by @MarkusJx in #101
Full Changelog: v2.5.1...v2.5.2