Skip to content

Handle already aborted controllers before re-aborting #250

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

ActuallyConnor
Copy link

Previously, the code attempted to abort controllers without checking their state, potentially causing issues. This change ensures that controllers are only aborted if they are not already in an aborted state, improving robustness and preventing unnecessary operations.

About the changes

Closes #

Important files

Discussion points

Previously, the code attempted to abort controllers without checking their state, potentially causing issues. This change ensures that controllers are only aborted if they are not already in an aborted state, improving robustness and preventing unnecessary operations.
@Shinypaper
Copy link

I've run into a similar issue around this. This fix would be helpful to get in.

@github-project-automation github-project-automation bot moved this from New to Approved PRs in Issues and PRs Apr 23, 2025
@kwasniew
Copy link
Contributor

@ActuallyConnor @Shinypaper what was the impact of calling abort twice? I'd expect the second one to be a no-op.

@ActuallyConnor
Copy link
Author

@ActuallyConnor @Shinypaper what was the impact of calling abort twice? I'd expect the second one to be a no-op.

@kwasniew Great question. For our case we noticed it was causing page hang ups occasionally. Our session replay functionality caught the issue and flagged it for me. Just wanted to help out and address our issue simultaneously. 😄

@ActuallyConnor
Copy link
Author

@kwasniew just curious what the release process would be for this PR once merged? Would it be batched with some other changes or go out as a patch?

@kwasniew
Copy link
Contributor

kwasniew commented May 1, 2025

@ActuallyConnor we can merge it right now and release a patch version

@kwasniew kwasniew merged commit 1645703 into Unleash:main May 1, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from Approved PRs to Done in Issues and PRs May 1, 2025
@kwasniew
Copy link
Contributor

kwasniew commented May 1, 2025

@ActuallyConnor your change is out as 3.7.6. Thanks for your contribution!

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

Successfully merging this pull request may close these issues.

4 participants