Skip to content

Conversation

@sklinov
Copy link
Contributor

@sklinov sklinov commented Oct 7, 2025

After the file is downloaded, we want to release the reference to the file to prevent possible memory leaks.

@vercel
Copy link

vercel bot commented Oct 7, 2025

@sklinov is attempting to deploy a commit to the Coston's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
json-to-csv-export Ready Ready Preview Comment Oct 9, 2025 8:43pm

@coston coston requested a review from Copilot October 7, 2025 17:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds memory leak prevention by revoking object URLs after file downloads. The change ensures that blob URLs created for CSV downloads are properly cleaned up to prevent accumulating memory usage.

  • Adds URL.revokeObjectURL() call to clean up blob URLs after download

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Owner

@coston coston left a comment

Choose a reason for hiding this comment

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

Hey @sklinov, this is a nice update. 🚀

@coston coston merged commit 37713a6 into coston:master Oct 9, 2025
3 checks passed
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

🎉 This PR is included in version 3.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants