From 506f727f1f2e904093c04889847af9605f2ea728 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 9 Jun 2020 09:52:59 +0200 Subject: [PATCH] Another place worth force GC'ing --- dnscrypt-proxy/proxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dnscrypt-proxy/proxy.go b/dnscrypt-proxy/proxy.go index 39be18fe..24b406f0 100644 --- a/dnscrypt-proxy/proxy.go +++ b/dnscrypt-proxy/proxy.go @@ -240,6 +240,7 @@ func (proxy *Proxy) StartProxy() { go func() { for { clocksmith.Sleep(PrefetchSources(proxy.xTransport, proxy.sources)) + runtime.GC() } }() if len(proxy.serversInfo.registeredServers) > 0 {