From b4c12aaf7ed9f52d989c58fb18dae7eddd143ba2 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Sun, 27 Jan 2019 02:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=8B=20Ignore=20potential=20error=20ret?= =?UTF-8?q?urned=20by=20pool.Release()=20explicitly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants.go b/ants.go index a172a6f..9276f2b 100644 --- a/ants.go +++ b/ants.go @@ -85,5 +85,5 @@ func Free() int { // Release Closes the default pool. func Release() { - defaultAntsPool.Release() + _ = defaultAntsPool.Release() }