优化代码

This commit is contained in:
GoEdgeLab
2023-03-31 14:05:18 +08:00
parent 7cd3a9f901
commit edd0e168b9

View File

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