Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race in ChannelReadHandler used during LocalChannel testing. (net…
…ty#7904) Motivation: ChannelReadHandler is used in tests added via f4d7e8d. In the handler we verify the number of messages we receive per read() call but missed to sometimes reset the counter which resulted in exceptions. Modifications: Correctly reset read counter in all cases. Result: No more unexpected exceptions when running LocalChannel tests.
- Loading branch information