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

Move destroy calls into destructor #30

Open
natevm opened this issue Nov 18, 2022 · 0 comments
Open

Move destroy calls into destructor #30

natevm opened this issue Nov 18, 2022 · 0 comments

Comments

@natevm
Copy link
Contributor

natevm commented Nov 18, 2022

A pattern that seems to be emerging in GPRT is that we call a destroy() function followed by a delete to some handle. However, this destroy function could be moved into the destructor of the respective object to clean up some of the code

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

No branches or pull requests

1 participant