Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 32333 invoked from network); 29 Feb 2008 01:08:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 01:08:18 -0000 Received: (qmail 38890 invoked by uid 500); 29 Feb 2008 01:08:12 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 38821 invoked by uid 500); 29 Feb 2008 01:08:12 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 38792 invoked by uid 99); 29 Feb 2008 01:08:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 17:08:12 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 01:07:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE619234C00F for ; Thu, 28 Feb 2008 17:07:17 -0800 (PST) Message-ID: <189683256.1204247237774.JavaMail.jira@brutus> Date: Thu, 28 Feb 2008 17:07:17 -0800 (PST) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQNET-80) Close()/Dispose() Methods are not properly protected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Close()/Dispose() Methods are not properly protected ---------------------------------------------------- Key: AMQNET-80 URL: https://issues.apache.org/activemq/browse/AMQNET-80 Project: ActiveMQ .Net Issue Type: Bug Components: ActiveMQ Client Reporter: Jim Gomes Assignee: James Strachan Attachments: ProtectCloseMethod.patch The Close() methods in Session, MessageConsumer, and MessageProducer are not properly protected from being called more than once. They can be called more than once if the owner of these objects calls the Close() method explicitly and then when they are finalized through the IDispose interface. The Close() methods in these objects should be protected in the same way the Close() method is protected in the Connection object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.