Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
chore(topology): removing double timeout clear
Browse files Browse the repository at this point in the history
This was accidentally introduced during the following refactor:
cd44d70
  • Loading branch information
tlhunter authored and daprahamian committed May 31, 2018
1 parent c1d6e61 commit d71b21c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/topologies/replset.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,6 @@ ReplSet.prototype.destroy = function(options) {
// Clear out all monitoring
for (var i = 0; i < this.intervalIds.length; i++) {
this.intervalIds[i].stop();
this.intervalIds[i].stop();
}

// Reset list of intervalIds
Expand Down

0 comments on commit d71b21c

Please sign in to comment.