[hornetq-commits] JBoss hornetq SVN: r10210 - branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Feb 15 17:33:01 EST 2011


Author: clebert.suconic at 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;
       }
    }



More information about the hornetq-commits mailing list