Skip to content

Commit

Permalink
fix(BaseClient): fix destroy method (#9742)
Browse files Browse the repository at this point in the history
  • Loading branch information
N1ckPro authored Jul 31, 2023
1 parent 3bc0dce commit 1af7e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/src/client/BaseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class BaseClient extends EventEmitter {
* @returns {void}
*/
destroy() {
this.rest.requestManager.clearHashSweeper();
this.rest.requestManager.clearHandlerSweeper();
this.rest.clearHashSweeper();
this.rest.clearHandlerSweeper();
}

/**
Expand Down

0 comments on commit 1af7e5a

Please sign in to comment.