fix minor typos, potential mem leaks

This commit is contained in:
Amateur Audio Dude
2025-07-07 22:32:04 +10:00
committed by GitHub
parent 4ece21d513
commit f29570261e
6 changed files with 17 additions and 103 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ function configUpdate(newConfig) {
function configSave() {
try {
fs.writeFileSync(configPath, JSON.stringify(serverConfig, null, 2));
logInfo('Server config saved successfully.');
setTimeout(() => logInfo('Server config saved successfully.'), 0);
} catch (err) {
logError(err);
}