Skip to content

Commit 89ba76d

Browse files
committed
chore: emit the close event
We are not using it, but to be consistent with what we had before we are keeping it.
1 parent 43b54a0 commit 89ba76d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export class Session extends EventEmitter<SessionEvents> {
100100
async close(): Promise<void> {
101101
await this.disconnect();
102102
await this.apiClient.close();
103+
this.emit("close");
103104
}
104105

105106
async connectToMongoDB(settings: ConnectionSettings): Promise<void> {

0 commit comments

Comments
 (0)