File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -614,10 +614,7 @@ Cursor.prototype.close = function(callback) {
614614 if ( this . cursorId instanceof self . db . bson_serializer . Long && this . cursorId . greaterThan ( self . db . bson_serializer . Long . fromInt ( 0 ) ) ) {
615615 try {
616616 var command = new KillCursorCommand ( this . db , [ this . cursorId ] ) ;
617- var killCursorCommandHandler = function ( err , result ) { } ;
618- this . db . executeCommand ( command , killCursorCommandHandler ) ;
619-
620- killCursorCommandHandler = null ;
617+ this . db . executeCommand ( command , null ) ;
621618 } catch ( err ) { }
622619 }
623620
Original file line number Diff line number Diff line change 11{ "name" : " mongodb"
22, "description" : " A node.js driver for MongoDB"
3- , "version" : " 0.9.0 "
3+ , "version" : " 0.9.1 "
44, "author" : " Christian Amor Kvalheim <christkv@gmail.com>"
55, "contributors" : [ " Nathan White <nw@nwhite.net>" ,
66 " Adam Wiggins <adam@heroku.com>" ,
You can’t perform that action at this time.
0 commit comments