`fatal error: runtime.SetFinalizer: finalizer 已经设置` — `clientRespStream.Close()` 不具备 idempotency 特性,因此会重复放入池中
作者: nicole-luo-exe创建于 2026年9月8日更新于 2026年9月13日
The root cause is that `clientRespStream` is pooled via `sync.Pool`. `Close()` clears the finalizer and unconditionally returns the object to the pool, but there is no guard against being called twice:
内容来源: cloudwego/hertz