We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On shutdown, when serverDestroy is called, it always fails with this error:
serverDestroy
Error happened during graceful shutdown TypeError: Cannot read property 'apply' of undefined
The problem seems to be that serverDestroy is defined like this:
const serverDestroy = promisify(server.destroy, server)
But server.destroy does not take a callback (anymore?):
server.destroy
destroy(error?: Error): void;
Looks like the callback was never meant to be used externally: nodejs/node#32809
The text was updated successfully, but these errors were encountered:
Replacing server.destroy with server.close seems to work correctly.
server.close
Sorry, something went wrong.
No branches or pull requests
On shutdown, when
serverDestroy
is called, it always fails with this error:The problem seems to be that
serverDestroy
is defined like this:But
server.destroy
does not take a callback (anymore?):Looks like the callback was never meant to be used externally: nodejs/node#32809
The text was updated successfully, but these errors were encountered: