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

Fix not freed objects/references #1348

Merged
merged 9 commits into from
Jul 5, 2020
Merged

Fix not freed objects/references #1348

merged 9 commits into from
Jul 5, 2020

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Jul 5, 2020

fixes #1347

the issue was related with App which was not GCed as it remained referenced because of register_shutdown_function and other global handlers.

example after unit tests were run 5000x in the same process with this PR:
image
(originally failed after a few runs...)

Copy link
Collaborator

@georgehristov georgehristov left a comment

Choose a reason for hiding this comment

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

Good catch!

@mvorisek mvorisek changed the title Fix not freed memory Fix not freed objects/references Jul 5, 2020
@mvorisek mvorisek merged commit ee45d70 into develop Jul 5, 2020
@mvorisek mvorisek deleted the fix_not_freed_memory branch July 5, 2020 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Something is not releasing memory, at least in tests
2 participants