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

Clear the last used mailbox cache when closing a connection #447

Merged
merged 3 commits into from Jan 24, 2020
Merged

Clear the last used mailbox cache when closing a connection #447

merged 3 commits into from Jan 24, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jan 3, 2020

Running getMessages() on a mailbox after closing the connection and opening a new one to the same server does not work correctly in all cases. It breaks when the same mailbox was used/selected before closing the previous connection (unless it happens to be the inbox).

Copy link
Collaborator

@Slamdunk Slamdunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, May you add tests for this change please?

@ghost ghost requested a review from Slamdunk January 3, 2020 11:22
@Slamdunk Slamdunk merged commit f692743 into ddeboer:master Jan 24, 2020
@Slamdunk
Copy link
Collaborator

Thank you!

saintsloth pushed a commit to saintsloth/imap that referenced this pull request Oct 27, 2022
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

Successfully merging this pull request may close these issues.

2 participants