style: 合入后去掉 waitConnsQuiet 多余 nil 检查
This commit is contained in:
@@ -306,7 +306,7 @@ func (b *Broker) waitConnsQuiet(ctx context.Context, states []*connState) bool {
|
|||||||
st.mu.Lock()
|
st.mu.Lock()
|
||||||
ch := st.downCh
|
ch := st.downCh
|
||||||
st.mu.Unlock()
|
st.mu.Unlock()
|
||||||
if ch != nil && len(ch) > 0 {
|
if len(ch) > 0 {
|
||||||
quiet = false
|
quiet = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user