Skip to content

Conversation

@kirugan
Copy link
Contributor

@kirugan kirugan commented Feb 15, 2021

No description provided.

@kirugan kirugan force-pushed the remove-unused-code-in-pkg-transport-handler branch from ede7ff3 to f1cf23b Compare February 15, 2021 16:18
callCh <- respRoutine
}
wg.Wait()
close(callCh)
Copy link
Contributor Author

@kirugan kirugan Feb 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few clarifications:

  • control flow will never reach this point in code (it's either return from one of exit points inside the loop or keep pushing respRoutine inside callCh channel)
  • all exit points have close operation on callCh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant