Github user clebertsuconic commented on the issue:
https://github.com/apache/activemq-artemis/pull/2141
I'm renaming your commit as I merge it...
and I'm adding an extra commit, to make the test a bit. Open several
connections to make sure this wouldn't be an issue with many Sessions, and I've
fixed a memory leak along the way.---
