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

fix: sources.manager.dispose* functions not working #1435

Merged
merged 1 commit into from Apr 16, 2024

Conversation

AThePeanut4
Copy link
Contributor

This is a simple change to fix the sources.manager.dispose* functions, which aren't currently working properly.

The bug is a classic remove while looping issue, solved by iterating in reverse. I've just copied the change from the dispose_invalid_tabs function.

Copy link
Contributor

@cseickel cseickel left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@cseickel cseickel merged commit 25bfdbe into nvim-neo-tree:main Apr 16, 2024
4 checks passed
@AThePeanut4 AThePeanut4 deleted the fix-dispose branch April 16, 2024 05:35
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.

None yet

2 participants