fix memory leak!

_dns_cache bommmm
This commit is contained in:
mengskysama 2015-10-26 09:45:02 +08:00
parent 4d24b7477a
commit 0aba0aa40c

View file

@ -285,6 +285,7 @@ class UDPRelay(object):
logging.info('closed UDP port %d', self._listen_port)
self._cache.sweep()
self._client_fd_to_server_addr.sweep()
self._dns_cache.sweep()
def close(self, next_tick=False):
logging.debug('UDP close')