quickfix
quickfix copied to clipboard
Initiator start doesnt wait for go routine to execute because it doesnt have initiator.waitgroup.wait()
Initiator start doesnt wait for go routine to execute because it doesnt have initiator.waitgroup.wait(). Need to add i.wg.Wait() to wait wg.Done() to get execute. Currently, It doesnt execute the handleconnection() go routine. It directly ends the start function. i.wg.Wait() needs to be added after the loop to wait for the waitgroup to get down to zero. Please Let me know if I am missing something.
^ Facing the same issue. Any leads guys?