Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race: Do not modify the message after calling next()
The message handler invoked by next, might do processing in a different go routine, modifying the message options causes a data race. After the message is handled, it is not reused, so the modification is not necessary.
- Loading branch information