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

v0.12.15 Atomics.wait fn freeezes the transformSync operation #1471

Closed
kolodziejczak-sz opened this issue Jul 24, 2021 · 3 comments
Closed

Comments

@kolodziejczak-sz
Copy link

kolodziejczak-sz commented Jul 24, 2021

Hello,
I faced this exact issue on v0.12.15 #595 (comment), had to install 0.12.14

simple file

// index.ts
console.log('hello world');

then

node -r esbuild-register index.ts

I found out that it freezes on that code of line let status = Atomics.wait(sharedBufferView, 0, 0);

tried on windows & (node 16.4.1 & 14.17.3)

@evanw
Copy link
Owner

evanw commented Jul 26, 2021

I'm going to disable this on all node versions <v0.12.17 in the next release of esbuild anyway to fix another bug: #1462. So it's possible this will fix your bug as well. However, I don't currently have access to a Windows machine for testing so I'll be unable to verify the fix at the moment. I'll have to test this later instead when I get access to a Windows machine again.

@evanw
Copy link
Owner

evanw commented Aug 7, 2021

This has now been disabled on node v0.12.15 so I assume it has been fixed. Can you confirm?

@kolodziejczak-sz
Copy link
Author

It works now. Great job 👍

@evanw evanw closed this as completed Aug 7, 2021
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

No branches or pull requests

2 participants