agent: Fixing panic on shutdown
This commit is contained in:
parent
75849d643e
commit
d9f95e2983
|
@ -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