Skip to content

Commit

Permalink
https://issues.jboss.org/browse/HORNETQ-828 - fix method call and cle…
Browse files Browse the repository at this point in the history
…an resources properly
  • Loading branch information
andytaylor committed Jan 22, 2012
1 parent 9f12de9 commit c616eb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public void close()
if(failingOver)
{
failingOver = false;
failoverCondition.notifyAll();
failoverCondition.signalAll();
}
closed = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -823,11 +823,13 @@ public void stop()
if(connectionFactory != null)
{
connectionFactory.close();
connectionFactory = null;
}

if(recoveryConnectionFactory != null)
{
recoveryConnectionFactory.close();
recoveryConnectionFactory = null;
}
}
}

0 comments on commit c616eb4

Please sign in to comment.