Skip to content

Commit

Permalink
fix close bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed Jun 14, 2023
1 parent ad5abf3 commit 8937932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/midjourney.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class Midjourney extends MidjourneyMessage {
Close() {
if (this.wsClient) {
this.wsClient.close();
this.wsClient = null;
this.wsClient = undefined;
}
}
}

0 comments on commit 8937932

Please sign in to comment.