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 Comm middleware arg count #27

Merged
merged 1 commit into from
Dec 27, 2021
Merged

Fix Comm middleware arg count #27

merged 1 commit into from
Dec 27, 2021

Conversation

Sleitnick
Copy link
Owner

Comm middleware can change the number of args passed inbound/outbound, but Comm wasn't resetting n within the packed arg table. This PR fixes this by setting n to the size of the arg table every time after a middleware function is fired with the arg table.

@Sleitnick Sleitnick added the bug Something isn't working label Dec 27, 2021
@Sleitnick Sleitnick merged commit e05c27c into main Dec 27, 2021
@Sleitnick Sleitnick deleted the patch-middleware-args branch December 27, 2021 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant