From 1af7e5a0bb4eca35221cb342c1c53dc18263c789 Mon Sep 17 00:00:00 2001 From: n1ck_pro <59617443+N1ckPro@users.noreply.github.com> Date: Tue, 1 Aug 2023 00:18:11 +0200 Subject: [PATCH] fix(BaseClient): fix destroy method (#9742) --- packages/discord.js/src/client/BaseClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/client/BaseClient.js b/packages/discord.js/src/client/BaseClient.js index 91c6afac3677..631748c92506 100644 --- a/packages/discord.js/src/client/BaseClient.js +++ b/packages/discord.js/src/client/BaseClient.js @@ -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(); } /**