emscripten-core / emscripten-core/emscripten

bun is incorrectly exiting with 0 when `uncaughtException` handler is run on a pthread.

Open
#26,199 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.