mirror of https://github.com/garrytan/gstack.git
.process() only exists on browsers launched by the daemon itself. A browser obtained via connectOverCDP() (or a stub in tests) has no such method, so calling it blind throws inside the disconnect handler and kills the whole daemon with 'browser?.process is not a function'. Guard with a typeof check and fall through to the default (clean) branch when the process handle is unavailable. |
||
|---|---|---|
| .. | ||
| bin | ||
| scripts | ||
| src | ||
| test | ||
| PLAN-snapshot-dropdown-interactive.md | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||