mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-25 08:33:55 +00:00
* fix(acp-bridge): make detachClient idempotent via per-clientId attach-ref ledger detachClient unconditionally decremented attachCount regardless of whether the detach actually released an attach reference. Duplicate detaches, unknown or anonymous clientIds, and a spawn owner detaching with its own clientId all stole another attacher's count, letting spawnOwnerWantedKill or close-on-last-detach kill a session that still had live clients. * test(acp-bridge): make duplicate-detach case detect count theft under a live attacher Mutation testing showed the original case also passed on the pre-fix code: with a single attacher the attachCount floor guard masked the double decrement. Add a second attacher so a stolen ref becomes observable through the owner's requireZeroAttaches kill. |
||
|---|---|---|
| .. | ||
| acp-bridge | ||
| audio-capture | ||
| channels | ||
| chrome-extension | ||
| cli | ||
| core | ||
| cua-driver | ||
| desktop | ||
| mobile-mcp | ||
| sdk-java | ||
| sdk-python | ||
| sdk-typescript | ||
| vscode-ide-companion | ||
| web-shell | ||
| web-templates | ||
| webui | ||
| zed-extension | ||