Explorar el Código

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

Chris Bannister hace 11 años
padre
commit
3d926c4792
Se han modificado 1 ficheros con 0 adiciones y 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
 	}