Expand description
Cooperative cancel and FINALIZE ledger. One-shot lifecycle: INIT → EXECUTA → FINALIZE → EXIT.
§Flow
Lifecycle::newcreates cancel token and resource ledger- Commands may mark Chrome PID / profile in
ResourceLedger Lifecycle::finalizeis idempotent and safe to call multiple timesDropalso calls finalize as a safety net
§Safety
On Unix, finalize may send SIGTERM/SIGKILL to a recorded Chrome PID as
last resort when primary Browser.close reap did not clear the ledger.
Structs§
- Lifecycle
- Runtime token for cooperative cancel and FINALIZE.
- Resource
Ledger - Ledger of resources owned by this invocation (browser, profile, temp dirs).