Skip to content

Commit

Permalink
Merge pull request #291 from codefori/fix/play_button_state
Browse files Browse the repository at this point in the history
Correctly remove listeners when job is cleaned up
  • Loading branch information
worksofliam authored Oct 22, 2024
2 parents 58dfece + 1d6967a commit 8177f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connection/sqlJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,6 @@ export class OldSQLJob extends SQLJob {
this.channel.close();
this.channel = undefined;
this.status = "ended";
this.responseEmitter.removeAllListeners();
}
}

0 comments on commit 8177f3c

Please sign in to comment.