Skip to content

Conversation

@rswindell
Copy link

The initial values for a channel caused the first read to already be past the end of the queue (when the queue size is 1). This was fixed by simply changing the initial value of next_index to 0. If there is a better fix, please let me know.

The initial values for a channel caused the first read to already be past the end of the queue (when the queue size is 1). This was fixed by simply changing the initial value of next_index to 0. If there is a better fix, please let me know.
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