fix: routinegroup & etcd watch goroutine leak (#4514)

Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
This commit is contained in:
Nanosk07
2025-01-22 13:38:56 +08:00
committed by GitHub
parent 17d98f69e0
commit 33011c7ed1
5 changed files with 93 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
package internal
import (
"github.com/zeromicro/go-zero/core/discov"
"testing"
"github.com/stretchr/testify/assert"