emscripten-core/emscripten

Asyncify: support recursive yield

Open

#10.375 aperta il 6 feb 2020

Vedi su GitHub
 (3 commenti) (5 reazioni) (0 assegnatari)C++ (3519 fork)batch import
good first bughelp wantedwontfix

Metriche repository

Star
 (27.361 star)
Metriche merge PR
 (Merge medio 19g 10h) (147 PR mergiate in 30 g)

Descrizione

E.g. calling emscripten_sleep() while currently suspended from another emscripten_sleep().

Today this results in an "TypeError: Asyncify.dataInfo[Asyncify.currData] is undefined" error on the second wakeup.

Guida contributor