fix memory leak!
_dns_cache bommmm
This commit is contained in:
parent
4d24b7477a
commit
0aba0aa40c
1 changed files with 1 additions and 0 deletions
|
@ -285,6 +285,7 @@ class UDPRelay(object):
|
||||||
logging.info('closed UDP port %d', self._listen_port)
|
logging.info('closed UDP port %d', self._listen_port)
|
||||||
self._cache.sweep()
|
self._cache.sweep()
|
||||||
self._client_fd_to_server_addr.sweep()
|
self._client_fd_to_server_addr.sweep()
|
||||||
|
self._dns_cache.sweep()
|
||||||
|
|
||||||
def close(self, next_tick=False):
|
def close(self, next_tick=False):
|
||||||
logging.debug('UDP close')
|
logging.debug('UDP close')
|
||||||
|
|
Loading…
Reference in a new issue