good morning!!!!

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

Merge branch 'master' of gfx.cafe:open/jrpc

parents 7535a751 1c8b4b8d
No related branches found
No related tags found
No related merge requests found
Pipeline #61355 passed
...@@ -119,14 +119,6 @@ func (c *Codec) Flush() error { ...@@ -119,14 +119,6 @@ func (c *Codec) Flush() error {
c.wrLock.Lock() c.wrLock.Lock()
defer c.wrLock.Unlock() defer c.wrLock.Unlock()
if c.currentFrame == nil { if c.currentFrame == nil {
wr, err := c.conn.Writer(c.ctx, websocket.MessageText)
if err != nil {
return err
}
err = wr.Close()
if err != nil {
return err
}
return nil return nil
} }
err := c.currentFrame.Close() err := c.currentFrame.Close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment