streampool: close dial queue
This commit is contained in:
parent
9dc3c807fb
commit
d04d1f3a3b
@ -332,6 +332,9 @@ func (s *streamPool) removeStream(streamId uint32) {
|
||||
}
|
||||
|
||||
func (s *streamPool) Close() (err error) {
|
||||
if e := s.dial.Close(); e != nil {
|
||||
log.Warn("dial queue close error", zap.Error(e))
|
||||
}
|
||||
return s.exec.Close()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user