Skip to content

Commit

Permalink
fix: Do not run the garbage collector manually.
Browse files Browse the repository at this point in the history
  • Loading branch information
vxern committed Aug 8, 2023
1 parent f7ea509 commit 129d685
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "logos",
"description": "A multi-purpose community bot built to cater to language-learning communities on Discord.",
"license": "ISC",
"version": "3.6.0",
"version": "3.6.1",
"type": "module",
"keywords": [
"javascript",
Expand Down
2 changes: 0 additions & 2 deletions src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,6 @@ export async function handleGuildCreate(
});

client.services.local.set(guild.id, services);

global.gc?.();
}

export async function handleGuildDelete(client: Client, bot: Discord.Bot, guildId: bigint): Promise<void> {
Expand Down

0 comments on commit 129d685

Please sign in to comment.