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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
/**