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: garbage collector #98

Merged
merged 2 commits into from Nov 1, 2016
Merged

fix: garbage collector #98

merged 2 commits into from Nov 1, 2016

Conversation

Ari-H
Copy link
Contributor

@Ari-H Ari-H commented Oct 31, 2016

Changed the way how _removeObjects is being looped in function _garbageCollector, each function in the array should be called once (keeping in mind the fact that the function itself modifies _removeObjects array).

Writing a test case for reproducing the problem, and checking the correct behavior is somewhat difficult, because the carbage collection is being run only at process exit. No test cases were added/changed, because that would require significant changes to how the test cases are being run.

Fixes #97

@raszi raszi merged commit b7eb2ca into raszi:master Nov 1, 2016
@raszi
Copy link
Owner

raszi commented Nov 1, 2016

Thank you!

@raszi raszi changed the title Fix for garbage collector, issue #97 fix: garbage collector Aug 29, 2018
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.

Garbage collection doesn't remove all objects
3 participants