fix(BaseClient): fix destroy method (#9742)

This commit is contained in:
n1ck_pro
2023-08-01 00:18:11 +02:00
committed by GitHub
parent 3bc0dce04a
commit 1af7e5a0bb

View File

@@ -44,8 +44,8 @@ class BaseClient extends EventEmitter {
* @returns {void} * @returns {void}
*/ */
destroy() { destroy() {
this.rest.requestManager.clearHashSweeper(); this.rest.clearHashSweeper();
this.rest.requestManager.clearHandlerSweeper(); this.rest.clearHandlerSweeper();
} }
/** /**