node-restify
node-restify copied to clipboard
fix: destroyed async/await handler
Pre-Submission Checklist
- [x] Opened an issue discussing these changes before opening the PR
- [x] Ran the linter and tests via
make prepush - [x] Included comprehensive and convincing tests for changes
Issues
Closes:
- Issue #1941
Changes
Fix unstopped chain-handler when response already destroyed.
I'm not sure how this fixes #1935. The issue there is that one is no longer allowed to have async handlers which also call next, due to handler arity checks.
I'm not sure how this fixes #1935. The issue there is that one is no longer allowed to have
asynchandlers which also callnext, due to handler arity checks.
oh that was my fault, looks like it's a different issue, I've created a new issue
can you add tests?
done, test added