mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Perf: close write stream explictly to prevent leak
This commit is contained in:
parent
d54ccf4012
commit
86ccf71667
@ -86,5 +86,6 @@ export async function compareAndWriteFile(span: Span, linesA: string[], filePath
|
|||||||
}
|
}
|
||||||
|
|
||||||
writeStream.end();
|
writeStream.end();
|
||||||
|
writeStream.close();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user