Skip to content

Commit bd25b0c

Browse files
committed
fix: disconnect
1 parent c1bfdcc commit bd25b0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export class Session extends EventEmitter<{
6565
this.serviceProvider = undefined;
6666
}
6767
if (!this.connectedAtlasCluster) {
68+
this.emit("disconnect");
6869
return;
6970
}
7071
try {

0 commit comments

Comments
 (0)