emscripten-core / emscripten-core/emscripten
bun is incorrectly exiting with 0 when `uncaughtException` handler is run on a pthread.
Open
engine: bun
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
It seems that the `process.exit(1);` line in `uncaughtException` handler is causing thread to die before it can send the `uncaughtException` message via `postMessage`.
Contributor guide
Assessment
This issue has not been assessed yet.