Skip to content

Maintain a ref for the new thread created in net.serve request handling#252

Merged
aatxe merged 2 commits intoluau-lang:primaryfrom
Nicell:maintain-thread-ref-net-serve
May 3, 2025
Merged

Maintain a ref for the new thread created in net.serve request handling#252
aatxe merged 2 commits intoluau-lang:primaryfrom
Nicell:maintain-thread-ref-net-serve

Conversation

@Nicell
Copy link
Copy Markdown
Collaborator

@Nicell Nicell commented May 3, 2025

With high amounts of requests it seems like the GC is cleaning in-flight threads causing the process to exit. Holding onto a ref is fixing this behavior for me.

@Nicell Nicell requested a review from aatxe May 3, 2025 00:59
@aatxe aatxe merged commit 5a8b250 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
…ng (luau-lang#252)

With high amounts of requests it seems like the GC is cleaning in-flight
threads causing the process to exit. Holding onto a ref is fixing this
behavior for me.
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