Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Join a Channel thread only if possible, fix crash
pthread_join on threads which are not joinable leads to crashes. Channel threads are not started unconditionally. Thus, prevent calls to pthread_join if the thread is already joined or was never created. This fixes crashes on shutdown.
- Loading branch information