mirror of
https://github.com/SukkaW/Surge.git
synced 2026-03-15 15:36:42 +08:00
Perf: close write stream explictly to prevent leak
This commit is contained in:
@@ -86,5 +86,6 @@ export async function compareAndWriteFile(span: Span, linesA: string[], filePath
|
||||
}
|
||||
|
||||
writeStream.end();
|
||||
writeStream.close();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user