From edd0e168b99284e562e342207318c4c6a7cc2644 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 31 Mar 2023 14:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/iplibrary/default_ip_library.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/iplibrary/default_ip_library.go b/pkg/iplibrary/default_ip_library.go index 11741cc..ee9d817 100644 --- a/pkg/iplibrary/default_ip_library.go +++ b/pkg/iplibrary/default_ip_library.go @@ -119,5 +119,6 @@ func (this *IPLibrary) LookupIP(ip string) *QueryResult { func (this *IPLibrary) Destroy() { if this.reader != nil { this.reader.Destroy() + this.reader = nil } }