[hornetq-commits] JBoss hornetq SVN: r10257 - branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client.
do-not-reply at jboss.org
do-not-reply at jboss.org
Sat Feb 26 03:26:17 EST 2011
Author: ataylor
Date: 2011-02-26 03:26:15 -0500 (Sat, 26 Feb 2011)
New Revision: 10257
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/SessionFactoryTest.java
Log:
fixed locator leak
Modified: branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/SessionFactoryTest.java
===================================================================
--- branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/SessionFactoryTest.java 2011-02-26 01:43:43 UTC (rev 10256)
+++ branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/client/SessionFactoryTest.java 2011-02-26 08:26:15 UTC (rev 10257)
@@ -99,6 +99,8 @@
ServerLocator csi = (ServerLocator)ois.readObject();
Assert.assertNotNull(csi);
+
+ csi.close();
locator.close();
}
More information about the hornetq-commits
mailing list