Skip to content

Conversation

@AustinMroz
Copy link
Collaborator

@AustinMroz AustinMroz commented Dec 22, 2024

Both TaskItem and the in node preview create object URL to display previews, but fail to ever revoke. This causes a memory leak.

This is resolved by adding a revoke calls whenever these previews are discarded.

┆Issue is synchronized with this Notion page by Unito

Both TaskItem and the in node preview create object URL to display
previews, but failed to ever revoke. This caused a memory leak.

This is resolved by adding a revoke calls whenever these previews are
discarded.
@AustinMroz AustinMroz requested a review from a team as a code owner December 22, 2024 17:08
Copy link
Contributor

@webfiltered webfiltered left a comment

Choose a reason for hiding this comment

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

Thanking you! Just need to fix the ref checks to operate on the actual values.

@huchenlei huchenlei merged commit cce5ade into main Dec 22, 2024
10 checks passed
@huchenlei huchenlei deleted the revoke-preview-url branch December 22, 2024 21:18
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.

4 participants