Revert "Close the doneCh in the renewer when we return from Renew. (#4513)"

This reverts commit 79c708f8b6df13766830d4690e3688ccb49dc335.
This commit is contained in:
Jeff Mitchell 2018-05-07 16:11:39 -04:00
parent 2cc4f20f18
commit e2bb955673
1 changed files with 0 additions and 2 deletions

View File

@ -166,8 +166,6 @@ func (r *Renewer) Renew() {
result = r.renewLease() result = r.renewLease()
} }
defer close(r.doneCh)
select { select {
case r.doneCh <- result: case r.doneCh <- result:
case <-r.stopCh: case <-r.stopCh: