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
This code was in a sample application that was looking at
process.on('exit', (code) => { db.close((err) => { logger.error('Error closing DB: ' + err.message); });
And it resulted in a consistent crash with the stack trace as shown in the comment on this issue: nodejs/node-addon-api#902 (comment)
My question is whether closeing the db in the exit handler is expected to work or if this is a case of user error
user error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code was in a sample application that was looking at
And it resulted in a consistent crash with the stack trace as shown in the comment on this issue: nodejs/node-addon-api#902 (comment)
My question is whether closeing the db in the exit handler is expected to work or if this is a case of
user error
The text was updated successfully, but these errors were encountered: