mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Don't report death event to debugger if it is a forced exit.
This commit is contained in:
parent
70e79fbb0d
commit
697b4b49be
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ _pthread_exit(void *status)
|
|||
if (curthread->tlflags & TLFLAGS_DETACHED)
|
||||
THR_GCLIST_ADD(curthread);
|
||||
THREAD_LIST_UNLOCK(curthread);
|
||||
if (SHOULD_REPORT_EVENT(curthread, TD_DEATH))
|
||||
if (!curthread->force_exit && SHOULD_REPORT_EVENT(curthread, TD_DEATH))
|
||||
_thr_report_death(curthread);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue