fix worker master

This commit is contained in:
clowwindy 2014-06-12 17:11:05 +08:00
parent df836bed77
commit a109f571e3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2.0.4 2014-06-12
- Fix worker master
2.0.3 2014-06-11
- Fix table encryption with UDP

View file

@ -423,7 +423,9 @@ class DNSResolver(object):
self._send_req(hostname, QTYPE_A)
def close(self):
self._sock.close()
if self._sock:
self._sock.close()
self._sock = None
def test():