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 async arguments #738

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

javalikescript
Copy link
Contributor

@javalikescript javalikescript commented Nov 17, 2024

Protect async send() arguments using a mutex.
Use copy for async arguments rather than Lua reference.
Clear arguments in callback and before sending rather than after.
Keep existing and possibly weird behavior.
Allow async to use a FIFO queue.

Fixes #505

@javalikescript javalikescript marked this pull request as ready for review November 23, 2024 07:52
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.

memory leak related to uv.send_async
1 participant