This reverts commit 9f24640b7e6e61b0f293c724155a90a5e446dd7a. We hit some dead-locks on thread exit in some configurations: TLS exit handler is taking a lock. Temporarily reverting this change as we're debugging what is going on.
This reverts commit 9f24640b7e6e61b0f293c724155a90a5e446dd7a. We hit some dead-locks on thread exit in some configurations: TLS exit handler is taking a lock. Temporarily reverting this change as we're debugging what is going on.