mirror of
https://github.com/apache/activemq.git
synced 2025-03-01 21:59:10 +00:00
Fixing a race condition in ActiveMQMessageConsumer that could cause a NPE when the consumer is closing by only modifing pendingAck inside of the deliveredMessagesMutex Thanks to Michael Wong for providing the test case for this issue. (cherry picked from commit c02bc648460059b6dbc201fa21b7ee0ce2445082)