mongodb-core
Advanced tools
Comparing version 3.1.0-beta1 to 3.1.0-beta2
@@ -81,3 +81,2 @@ 'use strict'; | ||
* @param {Object} [options] Optional settings | ||
* @param {Boolean} [options.skipCommand] Skip sending the actual endSessions command to the server | ||
* @param {Function} [callback] Optional callback for completion of this operation | ||
@@ -98,7 +97,2 @@ */ | ||
if (!options.skipCommand) { | ||
// send the `endSessions` command | ||
this.topology.endSessions(this.id); | ||
} | ||
// mark the session as ended, and emit a signal | ||
@@ -105,0 +99,0 @@ this.hasEnded = true; |
{ | ||
"name": "mongodb-core", | ||
"version": "3.1.0-beta1", | ||
"version": "3.1.0-beta2", | ||
"description": "Core MongoDB driver functionality, no bells and whistles and meant for integration not end applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
630435
12412