go-zabbix
go-zabbix copied to clipboard
defer close DialResp channel to avoid dangling go routines
We need this because in case of timeout, channel will still be created and goroutine will be dangling around
@adubkov thoughts?