Stop the to connection first to avoid hanging on error.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-03-20 16:00:25 +00:00
parent c9c11074a8
commit 198dd34a9e
1 changed files with 1 additions and 1 deletions

View File

@ -107,8 +107,8 @@ public class NetworkLoadTest extends TestCase {
} }
public void stop() throws JMSException { public void stop() throws JMSException {
fromConnection.stop();
toConnection.stop(); toConnection.stop();
fromConnection.stop();
} }
public void close() throws JMSException { public void close() throws JMSException {