Skip to content

Conversation

@kevpar
Copy link
Member

@kevpar kevpar commented Nov 30, 2018

Previously, if we received an HCS callback of a type that we don't support, we wouldn't have a channel prepared for it. This causes a send to a nil channel, which hangs forever.

Now, we will only send to a channel if the channel has been prepared, and will otherwise log a warning.

Copy link
Contributor

@jterry75 jterry75 left a comment

Choose a reason for hiding this comment

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

LGTM. Should we log the unknown type?

Copy link
Contributor

@jterry75 jterry75 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants