coder
coder copied to clipboard
Fix issues reported by `goleak` in `cli` package tests and then enable `goleak`
As per the title, we have not had goleak enabled for CLI tests. We should turn it on and work through each test that is causing leaks to be reported with the final goal of permanently enabling goleak.
Related: https://github.com/pion/udp/pull/73, https://github.com/hashicorp/hc-install/pull/68