MongoDB remove fix.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-26 13:06:18 -08:00
parent 82ef3e8232
commit 1845950fdb

6
db.js
View File

@ -1531,9 +1531,9 @@ module.exports.CreateDB = function (parent, func) {
// MongoDB pending bulk remove operation, perform fast bulk document removes.
function fileBulkRemoveCompleted(err) {
// Send out callbacks
for (var i in obj.filePendingGets) {
for (var j in obj.filePendingGets[i]) {
obj.filePendingGets[i][j](err);
for (var i in obj.filePendingRemoves) {
for (var j in obj.filePendingRemoves[i]) {
obj.filePendingRemoves[i][j](err);
}
}