Author: clebert.suconic(a)jboss.com
Date: 2011-02-15 17:33:01 -0500 (Tue, 15 Feb 2011)
New Revision: 10210
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java
Log:
adding comment
Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java 2011-02-15
22:30:27 UTC (rev 10209)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java 2011-02-15
22:33:01 UTC (rev 10210)
@@ -1275,6 +1275,8 @@
{
for (ConsumerHolder holder : this.consumerList)
{
+ // GC finalize will take care of closing it
+ // We can't close it now as the iterator could be already being used
holder.iter = null;
}
}
Show replies by date