From a7a6e3438758c339db1c093cf5ca52115782699a Mon Sep 17 00:00:00 2001 From: Nixevol Date: Wed, 30 Sep 2026 19:23:00 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=90=88=E5=85=A5=E5=90=8E=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=20waitConnsQuiet=20=E5=A4=9A=E4=BD=99=20nil=20?= =?UTF-8?q?=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/broker/broker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/broker/broker.go b/internal/broker/broker.go index a42fdb7..b3fa1c5 100644 --- a/internal/broker/broker.go +++ b/internal/broker/broker.go @@ -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 }