Pārlūkot izejas kodu

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

Chris Bannister 11 gadi atpakaļ
vecāks
revīzija
3d926c4792
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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
 	}