You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: