Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix concurrent modification exception in Consumer release (#1365)
By using a semaphore also for the close operation we guard against concurrent access during release. This reverts a change made in in #1011. The cause of this concurrent access after the Consumer has shutdown is unfortunately unknown and I haven't been able to reproduce it. Fixes #1238.
- Loading branch information