mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

run goroutine was resetting a field for no reason and without holding a lock. This patch cleans up the run goroutine management to make the start/stop path less racey in general.