From a276cbef71f766cf199aa3257a65ddae7b9fdf4a Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Wed, 18 Apr 2018 16:43:03 -0400 Subject: [PATCH] fix(topology-base): sending `endSessions` is always skipped now --- lib/topologies/topology_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/topologies/topology_base.js b/lib/topologies/topology_base.js index 0d78619228..4591d89f4b 100644 --- a/lib/topologies/topology_base.js +++ b/lib/topologies/topology_base.js @@ -397,7 +397,7 @@ class TopologyBase extends EventEmitter { // If we have sessions, we want to individually move them to the session pool, // and then send a single endSessions call. if (this.s.sessions.length) { - this.s.sessions.forEach(session => session.endSession({ skipCommand: true })); + this.s.sessions.forEach(session => session.endSession()); } if (this.s.sessionPool) {