diff --git a/index.js b/index.js index 7c837dd..c6bd47a 100644 --- a/index.js +++ b/index.js @@ -1510,12 +1510,14 @@ var cursorOperationsMap = { $count: function(cursor, value, cb) { cursor.count() .then(function(result) { + cursor.close(); cb(null, result); }, cb); }, $explain: function(cursor, verbosity, cb) { cursor.explain(verbosity) .then(function(result) { + cursor.close(); cb(null, result); }, cb); },