mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-02 20:40:52 +08:00
- Introduced `streamDone` channel to signal the completion of streaming goroutines. - Updated `processStreamingChunks` to incorporate proper cleanup and defer close operations. - Ensured `streamWriter` and associated resources are released when streaming completes.