mirror of https://github.com/hashicorp/consul
agent: Fixing panic on shutdown
parent
e99f9dd070
commit
6a640604dd
|
@ -141,7 +141,6 @@ func (s *scadaListener) Close() error {
|
|||
return nil
|
||||
}
|
||||
s.closed = true
|
||||
close(s.pending)
|
||||
close(s.closedCh)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue