MailboxListener may not removed even if MailboxListener.isClosed() is true --------------------------------------------------------------------------
Key: MAILBOX-134 URL: https://issues.apache.org/jira/browse/MAILBOX-134 Project: James Mailbox Issue Type: Bug Components: api, store Affects Versions: 0.3 Reporter: Norman Maurer Assignee: Norman Maurer Fix For: 0.4 At the moment we check on every new even for a specific mailbox if an listener was closed before and if so we remove it. This is error-phrone and also may lead to "leaking" MailboxListeners as if no new event for a Mailbox will submitted it will there forever. We should better directly remove the MailboxListener and not relay on a lazy removal. This also should be a way faster as we don't need to check all MailboxListeners for a Mailbox on every event -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org