mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
fix(BaseClient): fix destroy method (#9742)
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user