Skip to content

Properly handle process.env GC#253

Merged
aatxe merged 1 commit intoluau-lang:primaryfrom
Nicell:process-env-dtor
May 3, 2025
Merged

Properly handle process.env GC#253
aatxe merged 1 commit intoluau-lang:primaryfrom
Nicell:process-env-dtor

Conversation

@Nicell
Copy link
Collaborator

@Nicell Nicell commented May 3, 2025

I didn't realize __gc wasn't available in Luau, so I don't think the destructor for the EnvIter was done properly at all. This should work now.

@Nicell Nicell marked this pull request as ready for review May 3, 2025 01:41
Copy link
Member

@aatxe aatxe left a comment

Choose a reason for hiding this comment

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

I am unsure of how this slipped by me in review. Oops!

@aatxe aatxe merged commit 3b61c9b into luau-lang:primary May 3, 2025
6 checks passed
green-real pushed a commit to green-real/lute that referenced this pull request May 19, 2025
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.

2 participants