Skip to content
Snippets Groups Projects
Commit fbeb4c28 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Objects: destruct() now uses THREAD_FLAG_INHIBIT.

destroy() could leak/fatal if the thread received a signal
(eg due to cleanup_thread_state()). Delay any such signal
until destroy() is done.

Fixes fatal "Shouldn't get an exception in destruct()." on exit in
async_tls_close_test in pikes compiled --with-cleanup-on-exit.
parent 18e21fa7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment