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(base): don't wrap JsRuntime with ManuallyDrop early #457

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

nyannyacha
Copy link
Collaborator

What kind of change does this PR introduce?

Bug fix

Description

DenoRuntime::new may return an error, so JsRuntime should not be wrapped with ManuallyDrop early. This causes memory leaks.

@nyannyacha nyannyacha requested a review from inian December 4, 2024 01:27
@nyannyacha nyannyacha enabled auto-merge (squash) December 4, 2024 01:30
@nyannyacha nyannyacha merged commit 4cbeee8 into supabase:main Dec 4, 2024
3 checks passed
Copy link

github-actions bot commented Dec 4, 2024

🎉 This PR is included in version 1.65.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@nyannyacha nyannyacha deleted the patch-mem-leak-2024-12-04 branch December 4, 2024 02:35
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