From 5608b5fa679509c1d239649b987276f4efc53622 Mon Sep 17 00:00:00 2001 From: ginuerzh Date: Wed, 3 Jun 2026 23:36:20 +0800 Subject: [PATCH] fix(handler/router): add break to DelConnector after successful delete --- handler/router/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/router/router.go b/handler/router/router.go index f4a74621..0a13dfc7 100644 --- a/handler/router/router.go +++ b/handler/router/router.go @@ -142,6 +142,7 @@ func (r *Router) DelConnector(host string, cid relay.ConnectorID) { for i, c := range connectors { if c.id.Equal(cid) { r.connectors[host] = append(connectors[:i], connectors[i+1:]...) + break } } }