mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +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.end();
|
||||||
|
writeStream.close();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user