fix(06-08): device-gate round 1 — destination card gains ROUTE forward action; document title mirrors Telegram header (arah² → Routing to <name>); capture teardown race guard
This commit is contained in:
@@ -657,7 +657,11 @@ async function captureLeg({ name, query, colorScheme, grantGeo, waitMode, expect
|
||||
} catch (err) {
|
||||
failures.push(`${name}: ${err.message}`);
|
||||
} finally {
|
||||
await context.close();
|
||||
try {
|
||||
await context.close();
|
||||
} catch {
|
||||
// teardown race (context already disposed) — the capture itself was judged above
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user