Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Add using statements for proper disposal of AndroidJavaObject instances #303

Conversation

username-dorf
Copy link
Contributor

Added using statements around instances of AndroidJavaObject and AndroidJavaClass to prevent jni::NewGlobalRef(_jobject*) issues and improve resource management.

@uerceg
Copy link
Contributor

uerceg commented Oct 16, 2024

Hey @username-dorf,

Thank you for the PR and sorry for a bit delayed reaction to it. We'll try to add this and make it part of the upcoming release.

@uerceg uerceg mentioned this pull request Oct 18, 2024
@uerceg
Copy link
Contributor

uerceg commented Oct 18, 2024

Replaced with #313. Thank you for your contribution!

@uerceg uerceg closed this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants