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

Add memory management tests #86

Open
kenz-gelsoft opened this issue Jun 15, 2022 · 0 comments
Open

Add memory management tests #86

kenz-gelsoft opened this issue Jun 15, 2022 · 0 comments

Comments

@kenz-gelsoft
Copy link
Owner

kenz-gelsoft commented Jun 15, 2022

Some mechanisms implemented in the bining generator should have test. e.g.

  • String parameter marshalling
  • Value types dropped correctly
  • Windows to be deallocated when their parent destroyed (especially when top level window closed)
  • Windows leak if they are created but not added to parent (This is intentional for now)
  • WeakRef to(wx)Trackables works correctly

To check memory leak, run this test with valgrind (or MSVC feature for leak check)

  • ideally integrate this in CI
  • at least document how to run leak check as a manual step to release this library
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