-
Committer:
Gustavo Niemeyer
-
Date:
2014-01-26 00:01:27 UTC
-
Revision ID:
gustavo@niemeyer.net-20140126000127-qe9fwt48ceby11ts
Tags: go1
Assign socket.dead to local variable so the race detector doesn't see
a potential race. Note that there's no *actual* race, since socket.dead
is always tested while locked, and once it's set once, it never changes.
Reported by Evan Shaw.