style: 合入后去掉 waitConnsQuiet 多余 nil 检查

This commit is contained in:
Nixevol
2026-09-30 19:23:00 +08:00
parent ef46563f70
commit a7a6e34387
+1 -1
View File
@@ -306,7 +306,7 @@ func (b *Broker) waitConnsQuiet(ctx context.Context, states []*connState) bool {
st.mu.Lock()
ch := st.downCh
st.mu.Unlock()
if ch != nil && len(ch) > 0 {
if len(ch) > 0 {
quiet = false
break
}