Add comment to client

pull/5428/head
Paul Dix 2016-01-02 15:46:27 -05:00 committed by David Norton
parent 1632980eb8
commit 0f36fbe5ce
1 changed files with 2 additions and 0 deletions

View File

@ -556,6 +556,8 @@ func (c *Client) pollForUpdates() {
for {
data := c.retryUntilSnapshot(c.index())
if data == nil {
// this will only be nil if the client has been closed,
// so we can exit out
return
}