Perf: close write stream explictly to prevent leak

This commit is contained in:
SukkaW 2025-03-11 00:22:47 +08:00
parent d54ccf4012
commit 86ccf71667

View File

@ -86,5 +86,6 @@ export async function compareAndWriteFile(span: Span, linesA: string[], filePath
} }
writeStream.end(); writeStream.end();
writeStream.close();
}); });
} }