-
Notifications
You must be signed in to change notification settings - Fork 72
drop the AbortController patch #519
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
Conversation
|
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We should probably keep a small comment somewhere though about this with the link to the workerd issue
I was wondering if we should keep the patch (but not use it) and maybe remove it later. WDYT? |
Yeah we can keep it for now and remove it once the fix is made in workerd, we could just add a small comment to explain why it's not needed anymore |
I update the PR:
|
Thanks Nico! |
This patch was added in #441
The
AbortController
is meant for the client side but somehow ends up in the server bundler. It was safe to remove it - workerd errors when instantiating anAbortController
at top level.After #497, no more Next code is executed at top level so it is safe to remove the patch.