TurboWarp / scratch-vm

Scratch VM with a JIT compiler and more features
https://turbowarp.org/
Mozilla Public License 2.0
75 stars 72 forks source link

Fix compiler's waitPromise implementation #185

Closed FurryR closed 8 months ago

FurryR commented 9 months ago

Resolves

https://github.com/TurboWarp/scratch-vm/issues/184

Proposed Changes

Reason for Changes

From https://github.com/TurboWarp/scratch-vm/issues/184:

  • Compiler's waitPromise soft-lock if promise handlers executed immediately.

Test Coverage

N/A

Note

It is recommended to merge this pull request by squash merge.