python-statsd-client icon indicating copy to clipboard operation
python-statsd-client copied to clipboard

close _socket in __del__ to avoid ResourceWarning

Open morgil opened this issue 4 years ago • 0 comments

I get a ResourceWarning every time a socket is deleted but has not been explicitly closed. This commit fixes it.

morgil avatar Sep 13 '21 06:09 morgil