Skip to content

Release v2.5.2

Choose a tag to compare

@github-actions github-actions released this 17 Mar 17:03
0758808

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

Full Changelog: v2.5.1...v2.5.2