# HG changeset patch # User Kim Alvefur # Date 1555172188 -7200 # Node ID 6402bc76f51a0581ba062c21cd5824df5efa4afb # Parent df73ca804719f7cc318f145f176f2ed497c308ff net.dns: Close resolv.conf handle when done (fixes #1342) diff -r df73ca804719 -r 6402bc76f51a net/dns.lua --- a/net/dns.lua Thu Mar 28 12:52:55 2019 +0100 +++ b/net/dns.lua Sat Apr 13 18:16:28 2019 +0200 @@ -704,6 +704,7 @@ end end end + resolv_conf:close(); end if not self.server or #self.server == 0 then -- TODO log warning about no nameservers, adding localhost as the default nameserver