@@ -23,6 +23,7 @@ func (cfg *frozenConfig) BorrowStream(writer io.Writer) *Stream {
}
func (cfg *frozenConfig) ReturnStream(stream *Stream) {
+ stream.out = nil
stream.Error = nil
stream.Attachment = nil
cfg.streamPool.Put(stream)