Skip to content

Commit 1af7e5a

Browse files
authored
fix(BaseClient): fix destroy method (#9742)
1 parent 3bc0dce commit 1af7e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/discord.js/src/client/BaseClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class BaseClient extends EventEmitter {
4444
* @returns {void}
4545
*/
4646
destroy() {
47-
this.rest.requestManager.clearHashSweeper();
48-
this.rest.requestManager.clearHandlerSweeper();
47+
this.rest.clearHashSweeper();
48+
this.rest.clearHandlerSweeper();
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)