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 class finalizer to ease of memory cleanup #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patrys
Copy link

@patrys patrys commented Jan 24, 2025

Promise.__del__ will remove all references that could result in reference cycles, allowing memory to be freed immediately, without the need of a deep garbage collection cycle.

Fixes #106

Promise.__del__ will remove all references that could result in reference cycles, allowing memory to be freed immediately, without the need of a deep garbage collection cycle.

Fixes syrusakbary#106
@patrys patrys force-pushed the add-class-finalizer branch from 9ef4133 to 005bdf4 Compare January 24, 2025 14:04
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.

Promises can result in hard to free memory when rejected or fulfilled with complex objects
1 participant