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

OrganizeImports: don't leak state from one fix execution to another #1921

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Feb 3, 2024

At best, this was causing memory leaks during an invocation. At worst, it was generating false negatives for unused import removals.

Exposed by https://github.com/scalacenter/scalafix/pull/1800/files#r1477081552

@bjaglin bjaglin changed the title don't leak mutable state from one fix execution to another OrganizeImports: don't leak state from one fix execution to another Feb 3, 2024
@bjaglin bjaglin marked this pull request as ready for review February 3, 2024 17:58
At best, this was causing memory leaks during an invocation. At worst, it was generating false negatives for unused import removals.
@bjaglin bjaglin merged commit a87a188 into scalacenter:main Feb 3, 2024
8 checks passed
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

1 participant