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

feat(bindings/java): avoid double dispose NativeObject #4377

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

tisonkun
Copy link
Member

Little check overhead trade off huge safety.

NativeObject should be disposed at most once. So with a properly written program, the check is called at most once.

Signed-off-by: tison <wander4096@gmail.com>
@github-actions github-actions bot requested review from ClSlaid and Xuanwo March 18, 2024 10:17
@tisonkun tisonkun marked this pull request as draft March 18, 2024 10:19
@tisonkun tisonkun marked this pull request as ready for review March 18, 2024 11:05
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@Xuanwo Xuanwo merged commit 9a9e69c into apache:main Mar 19, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants