mirror of
https://github.com/apache/activemq.git
synced 2025-02-28 05:09:07 +00:00
Fix for AMQ-1616: we should not be throwing an exception if close() is called twice.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1c057a5d0a
commit
836ca817ef
@ -546,8 +546,6 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon
|
||||
* cause this exception to be thrown.
|
||||
*/
|
||||
public void close() throws JMSException {
|
||||
checkClosed();
|
||||
|
||||
try {
|
||||
// If we were running, lets stop first.
|
||||
stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user