emscripten-core / emscripten-core/emscripten
emscripten_force_exit cannot actually shut down the runtime, as the build does not have EXIT_RUNTIME set
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
when i run the 'emscripten-main\tests\resize_offscreencanvas_from_main_thread.cpp';
and compile it
'emcc resize_offscreencanvas_from_main_thread.cpp -o resize_offscreencanvas_from_main_thread.html -s USE_PTHREADS=1 -s TOTAL_MEMORY=2000MB -s ALLOW_MEMORY_GROWTH=0 -s MAX_WEBGL_VERSION=2 -s OFFSCREENCANVAS_SUPPORT=1'
Then run it in chrome,it take a error:
'emscripten_force_exit cannot actually shut down the runtime, as the build does not have EXIT_RUNTIME set;
main thread called exit: keepRuntimeAlive=false (counter=0);
Program terminated with exit(0);'
could you tell me why
Contributor guide
Assessment
This issue has not been assessed yet.