Commit 16e7064
authored
fix(sdam): topology no longer causes close event (#2791)
The topology was emitting both a "topologyClosed" and "close"
event which are bubbled up to the MongoClient. This was causing
two "close" events to be emitted from the MongoClient when the
client is closed.
NODE-32191 parent 971259a commit 16e7064
File tree
2 files changed
+1
-3
lines changed- lib/core/sdam
- test/functional
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | 362 | | |
364 | 363 | | |
365 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3688 | 3688 | | |
3689 | 3689 | | |
3690 | 3690 | | |
3691 | | - | |
3692 | 3691 | | |
3693 | 3692 | | |
3694 | | - | |
| 3693 | + | |
3695 | 3694 | | |
3696 | 3695 | | |
3697 | 3696 | | |
| |||
0 commit comments