提交 cc7c8075 编写于 作者: H h3nng 提交者: Matteo Merli

Synchronized 'consumers' in PulsarClientImpl during cleanup (#54)

上级 0fa67015
......@@ -418,7 +418,7 @@ public class PulsarClientImpl implements PulsarClient {
}
void cleanupConsumer(ConsumerBase consumer) {
synchronized (consumer) {
synchronized (consumers) {
consumers.remove(consumer);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册