diff options
| author | Mike <contact@mikelittman.me> | 2026-10-22 12:19:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-23 00:19:49 +0800 |
| commit | 32721d1421819fcd8ca0776421e147d59dad60ab (patch) | |
| tree | 6b2a721c548609fb3bb7c70f0b2d0ab81f216b84 /buildscripts_support_functions | |
| parent | 0bd96379e6130481418cb25bdac5ba9416131afc (diff) | |
Do not abort when a shutdown thread joins itself (#40)
std::thread::join throws system_error if the caller is the thread being
joined. That uncaught exception aborted the process during shutdown.
Detach the current thread instead, and catch a join that still throws.
Diffstat (limited to 'buildscripts_support_functions')
0 files changed, 0 insertions, 0 deletions
