Add comment to client
parent
1632980eb8
commit
0f36fbe5ce
|
@ -556,6 +556,8 @@ func (c *Client) pollForUpdates() {
|
||||||
for {
|
for {
|
||||||
data := c.retryUntilSnapshot(c.index())
|
data := c.retryUntilSnapshot(c.index())
|
||||||
if data == nil {
|
if data == nil {
|
||||||
|
// this will only be nil if the client has been closed,
|
||||||
|
// so we can exit out
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue