Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventQueue should be terminated only by its owner #735

Open
cigaly opened this issue Aug 9, 2024 · 1 comment
Open

EventQueue should be terminated only by its owner #735

cigaly opened this issue Aug 9, 2024 · 1 comment

Comments

@cigaly
Copy link

cigaly commented Aug 9, 2024

Both Service.notifyConnectionListeners and Folder.notifyConnectionListeners are calling EventQueue.terminateQueue() if type is ConnectionEvent.CLOSED . However, if mail.event.scope is set to 'application' or 'session' this can cause to some later events to be lost without being processed.

This problem should be fixed to allow queue termination only when object that is processing event owns EventQueue.

@jmehrens jmehrens changed the title EventQueue shoul be terminated only by its owner EventQueue should be terminated only by its owner Aug 13, 2024
@jmehrens
Copy link
Contributor

Thanks for creating this issue. I'm going to use this to write myself a reminder that there are multiple tickets to be created and prioritized around EventQueue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants