coreos/go-etcd — pull request #98 by paddyforan (2014-02-15 23:58:18+00:00)
Title: Always close response channel when Watch is done.

Added a defer statement when the receiver channel passed to Watch is
set to close the channel. This permits the goroutine consuming that
channel to gracefully terminate when the channel will no longer return
any responses.

This is an implementation of the discussion in #96.