smira / go-statsd

Go statsd client library with zero allocation overhead, great performance and reconnects
MIT License
109 stars 18 forks source link

Fix sendLoop not exiting when connection can't be established #20

Closed smira closed 5 years ago

smira commented 5 years ago

When net.Dial() fails, sendLoop iterates in a loop never allowing to the client to shutdown.

Fixes: #19