Skip to content

Don't run pthread exit handlers on application exit - #14751

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
kleisauke:pthread-dtors-application-exit
Jul 25, 2021
Merged

sbc100 merged 1 commit into
emscripten-core:mainfrom
kleisauke:pthread-dtors-application-exit

Conversation

@kleisauke

Copy link
Copy Markdown
Collaborator

It should only be executed when a thread is exiting (or when
pthread_exit is explicitly called).

This reverts commit 6d3e78c partially.

See for context: #14512 (comment).

It should only be executed when a thread is exiting (or when
pthread_exit is explicitly called).

This reverts commit 6d3e78c partially.

@sbc100 sbc100 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@sbc100
sbc100 merged commit 5af6a11 into emscripten-core:main Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants