Destructor in Thread

When an exception (IO or worse) occurs in a thread, does the destructor still gets executed?

of course. Did you see something different?