Fix: Use .destroy() instead of .end()

pull/2729/head
Nelson Chan 2 years ago committed by GitHub
parent 0197778af1
commit e1f956879d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -323,7 +323,7 @@ exports.mysqlQuery = function (connectionString, query) {
reject(err); reject(err);
}) })
.finally(() => { .finally(() => {
connection.end(); connection.destroy();
}); });
}); });
}; };

Loading…
Cancel
Save