aboutsummaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorVincent Vanackere <[email protected]>2014-07-23 15:07:31 +0200
committerVincent Vanackere <[email protected]>2014-07-23 15:11:43 +0200
commit3f715a842164cd9b67637058e1e6e0ae17b5e620 (patch)
tree394e68cc381b8cc64caecbc27a40b018091e2b6c /debug.go
parentf4a7f67426c9fd7eecc5f54bce77fad7257daf36 (diff)
Remove data race between *Conn.Close() and *Conn.reader()
A single channel is now used to signal that the connection was closed. There is also no need to set the net.Conn field to nil as this was causing a nil pointer dereference in the reader loop.
Diffstat (limited to 'debug.go')
0 files changed, 0 insertions, 0 deletions