Prechádzať zdrojové kódy

change call.resp is a data race and shouldnt be needed

Chris Bannister 10 rokov pred
rodič
commit
3d926c4792
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      conn.go

+ 0 - 1
conn.go

@@ -270,7 +270,6 @@ func (c *Conn) exec(req frameWriter, tracer Tracer) (frame, error) {
 	}
 
 	resp := <-call.resp
-	call.resp = nil
 	if resp.err != nil {
 		return nil, resp.err
 	}