fix: 收紧 WebProbe 浏览器启动与清理

This commit is contained in:
Codex
2026-07-13 10:26:48 +02:00
parent 11b1f3d647
commit cd2863e030
5 changed files with 79 additions and 35 deletions
@@ -111,6 +111,7 @@ try {
});
process.exitCode = 2;
} finally {
if (context) await context.close().catch(() => {});
if (browser) await browser.close().catch(() => {});
}