mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
parent
cdc8f99658
commit
22c3a439bc
@ -279,7 +279,6 @@ func (l *lessor) keepAliveOnce(ctx context.Context, id LeaseID) (*LeaseKeepAlive
|
|||||||
|
|
||||||
func (l *lessor) recvKeepAliveLoop() {
|
func (l *lessor) recvKeepAliveLoop() {
|
||||||
defer func() {
|
defer func() {
|
||||||
l.stopCancel()
|
|
||||||
l.mu.Lock()
|
l.mu.Lock()
|
||||||
close(l.donec)
|
close(l.donec)
|
||||||
for _, ka := range l.keepAlives {
|
for _, ka := range l.keepAlives {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user