Skip to content
Snippets Groups Projects
Commit 1c6c395a authored by Avi Kivity's avatar Avi Kivity
Browse files

sched: don't auto-join detached threads from the destructor

Detached threads delete themselves, so the auto-join creates an infinite loop.

Avoid by checking whether this is a detached thread when destroying it.
parent 74b624af
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment