From 1c767b45a16e080b54ec87c8d5c824533bd9f793 Mon Sep 17 00:00:00 2001 From: Andy Pan <panjf2000@gmail.com> Date: Mon, 19 Aug 2019 16:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=96Fit=20in=20the=20new=20`Pool.Releas?= =?UTF-8?q?e()`=20method?= 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 5dccc54..b47b906 100644 --- a/ants.go +++ b/ants.go @@ -99,5 +99,5 @@ func Free() int { // Release Closes the default pool. func Release() { - _ = defaultAntsPool.Release() + defaultAntsPool.Release() }