python-statsd-client
python-statsd-client copied to clipboard
close _socket in __del__ to avoid ResourceWarning
I get a ResourceWarning every time a socket is deleted but has not been explicitly closed. This commit fixes it.