Explorar o código

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

Chris Bannister %!s(int64=11) %!d(string=hai) anos
pai
achega
3d926c4792
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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
 	}