Skip to content

Fix net.serve not being yieldable #219

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

Merged
merged 2 commits into from
Apr 30, 2025

Conversation

ffrostfall
Copy link
Contributor

Fixes #169 by deriving a lua_State from the runtime global lua_State, and then resuming it with the handler function.

Copy link
Collaborator

@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.

Looks good besides a small style nit.

Co-authored-by: ariel <[email protected]>
@aatxe aatxe merged commit 160e3c5 into luau-lang:primary Apr 30, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

net.serve should allow yielding
2 participants