Skip to content

Finalizers for query & property-query #240

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

Merged
merged 1 commit into from
May 13, 2021
Merged

Finalizers for query & property-query #240

merged 1 commit into from
May 13, 2021

Conversation

vaind
Copy link
Contributor

@vaind vaind commented May 13, 2021

closes #53

@vaind vaind force-pushed the finalizers branch 2 times, most recently from 01d2467 to ee75123 Compare May 13, 2021 17:03
@vaind vaind merged commit 116b3c1 into main May 13, 2021
@vaind vaind deleted the finalizers branch May 13, 2021 17:14
@vaind vaind requested a review from greenrobot-team May 13, 2021 17:32
Copy link
Member

@greenrobot-team greenrobot-team left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One potential minor issue, otherwise LGTM.

Comment on lines +642 to +643
close();
throwLatestNativeError();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking: can C.query_close work if C.dartc_attach_finalizer failed? E.g. if not, would always replace the original error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, it should work as just fine.

@greenrobot-team greenrobot-team added this to the 0.15.0 milestone Jan 10, 2022
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.

ffi:Pointer finalizer
2 participants