go-zabbix icon indicating copy to clipboard operation
go-zabbix copied to clipboard

defer close DialResp channel to avoid dangling go routines

Open gabrielmocan opened this issue 1 year ago • 1 comments

We need this because in case of timeout, channel will still be created and goroutine will be dangling around

gabrielmocan avatar May 22 '23 21:05 gabrielmocan

@adubkov thoughts?

gabrielmocan avatar May 23 '23 10:05 gabrielmocan