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
|
return nil
|
||||||
}
|
}
|
||||||
s.closed = true
|
s.closed = true
|
||||||
close(s.pending)
|
|
||||||
close(s.closedCh)
|
close(s.closedCh)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue