Skip to content

Commit

Permalink
Fix: Use .destroy() instead of .end()
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Feb 6, 2023
1 parent 0197778 commit e1f9568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/util-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ exports.mysqlQuery = function (connectionString, query) {
reject(err);
})
.finally(() => {
connection.end();
connection.destroy();
});
});
};
Expand Down

0 comments on commit e1f9568

Please sign in to comment.