Skip to content

Commit

Permalink
fix(topology-base): sending endSessions is always skipped now
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Apr 19, 2018
1 parent 9976b86 commit a276cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/topologies/topology_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a276cbe

Please sign in to comment.