fix(windows): persist adaptive mirror history

This commit is contained in:
NimBold
2026-08-09 04:21:15 +03:30
parent 3b7c454ec7
commit 5797db27c5
3 changed files with 43 additions and 0 deletions
+1
View File
@@ -460,6 +460,7 @@ try {
smokeFailure = new Error(`${error.message}${detail ? `\n${detail}` : ''}`);
} finally {
try {
if (process.platform === 'win32') fs.rmSync(serverStatPath, { force: true });
await stop(child, rpcPort, secret);
if (smokePassed) {
const stat = fs.readFileSync(serverStatPath, 'utf8');