good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit 47aaaabf authored by a's avatar a
Browse files

ok

parent cc281dcd
No related branches found
No related tags found
No related merge requests found
Pipeline #26316 failed with stage
in 1 minute and 45 seconds
...@@ -91,7 +91,10 @@ func (c *Codec) Flush() (err error) { ...@@ -91,7 +91,10 @@ func (c *Codec) Flush() (err error) {
c.wrLock.Lock() c.wrLock.Lock()
defer c.wrLock.Unlock() defer c.wrLock.Unlock()
if c.wr.Buffered() > 0 { if c.wr.Buffered() > 0 {
c.wr.WriteByte('\n') err = c.wr.WriteByte('\n')
if err != nil {
return err
}
err = c.wr.Flush() err = c.wr.Flush()
if err != nil { if err != nil {
return err return err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment