1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 15:25:28 -05:00

release bridge worker when inactive

This commit is contained in:
Darien Raymond
2018-10-28 21:46:12 +01:00
parent f1ab89d9d8
commit f3ad8acbe4
2 changed files with 17 additions and 1 deletions

View File

@@ -182,7 +182,7 @@ func TestReverseProxy(t *testing.T) {
defer CloseAllServers(servers)
var wg sync.WaitGroup
wg.Add(10)
wg.Add(32)
for i := 0; i < 32; i++ {
go func() {
defer wg.Done()