ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
462 stars 27 forks source link

Timeout issues with forced yield #34

Closed tims-bsquare closed 3 years ago

tims-bsquare commented 3 years ago

"attempt to yield across a C-call boundary" occurs when setting forced yield for timeouts if the yield occurs within a callback from JS.

This can be avoided by not using the timeout functionality or resolving #22.

(this is @timstableford 's/my work account)