Summary
Qwen Code closed a critical Windows bug where each tool call could leave a PowerShell process running until memory exhaustion. The fix used process-tree cleanup to improve long-running TUI reliability for Windows users.
What changed
Qwen Code merged a fix to kill the full PTY shell tree on Windows and stop unreaped PowerShell processes after tool calls.
Why it matters
Windows reliability remains a major adoption blocker for coding agents. Fixing process leaks is not flashy, but it directly affects whether teams can run long agent sessions without exhausting local machines.
Evidence excerpt
The Qwen Code digest identified issue #5873 as a critical Windows PowerShell leak fixed by PR #5892 using tree-kill for the PTY shell tree.