good morning!!!!

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

ok i guess send empty ones

parent 7441f2cf
No related branches found
No related tags found
No related merge requests found
Pipeline #26401 failed with stage
in 1 minute and 43 seconds
......@@ -93,9 +93,6 @@ func (c *Codec) Write(p []byte) (n int, err error) {
func (c *Codec) Flush() (err error) {
c.wrLock.Lock()
defer c.wrLock.Unlock()
if c.wr.Len() == 0 {
return nil
}
defer c.wr.Reset()
err = c.wr.WriteByte('\n')
if err != nil {
......
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