From 5cc66e51dbe3ddc3b94022b3c75b0626c308d074 Mon Sep 17 00:00:00 2001 From: comwrg Date: Tue, 27 Aug 2019 16:23:44 +0800 Subject: [PATCH] Chore: remove unused code (#282) --- adapters/outbound/urltest.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/adapters/outbound/urltest.go b/adapters/outbound/urltest.go index 4e9dcc74..6f61d8d7 100644 --- a/adapters/outbound/urltest.go +++ b/adapters/outbound/urltest.go @@ -125,8 +125,6 @@ func (u *URLTest) speedTest() { if fast != nil { u.fast = fast.(C.Proxy) } - - <-ctx.Done() } func NewURLTest(option URLTestOption, proxies []C.Proxy) (*URLTest, error) {