This closes #382

This commit is contained in:
Clebert Suconic 2016-02-09 11:08:35 -05:00
commit 1f371ad004
1 changed files with 3 additions and 1 deletions

View File

@ -2603,7 +2603,9 @@ public class QueueImpl implements Queue {
message = null;
}
boolean durableRef = message != null && message.isDurable() && queue.durable;
if (message == null) return;
boolean durableRef = message.isDurable() && queue.durable;
try {
message.decrementRefCount();