Fix memory leak

This commit is contained in:
lilyissillyyy
2026-01-06 13:15:48 -05:00
parent 7d6f7db9ad
commit 547fa244ca
2 changed files with 7 additions and 6 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "159.3.2",
"version": "159.3.3",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
@@ -31,9 +31,9 @@
"dependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/voice": "^0.19.0",
"@dotenvx/dotenvx": "^1.51.2",
"@dotenvx/dotenvx": "^1.51.4",
"@mediapipe/face_detection": "^0.4.1646425229",
"@napi-rs/canvas": "^0.1.86",
"@napi-rs/canvas": "^0.1.88",
"@skyra/gifenc": "^1.0.1",
"@snazzah/davey": "^0.1.9",
"@tensorflow-models/face-detection": "^1.0.3",
@@ -42,7 +42,7 @@
"bombsweeper.js": "^1.0.1",
"buffer": "^6.0.3",
"cheerio": "^1.1.2",
"city-timezones": "^1.3.2",
"city-timezones": "^1.3.3",
"cloc": "2.6.0-cloc",
"common-tags": "^1.8.2",
"connect4-ai": "^0.1.3",
@@ -56,7 +56,7 @@
"gm": "^1.25.1",
"html-entities": "^2.6.0",
"image-to-ascii": "^3.3.0",
"ioredis": "^5.8.2",
"ioredis": "^5.9.0",
"js-chess-engine": "1.0.2",
"jszip": "^3.10.1",
"kuroshiro": "^1.2.0",
@@ -99,6 +99,6 @@
"eslint": "^9.39.2",
"eslint-config-amber": "^2.0.5",
"eslint-plugin-jsonc": "^2.21.0",
"globals": "^16.5.0"
"globals": "^17.0.0"
}
}
+1
View File
@@ -119,6 +119,7 @@ module.exports = class JeopardyScrape {
}
}
this.exportData();
this.imported = true;
return this.clues.length - cluesBefore;
}
};