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 } }