-
Matt Mueller authored
PR_DetachThread is not necessary, because Chromium code never calls PR_Cleanup (which requires threads be cleaned up beforehand), and the thread-specific data itself will be cleaned up by NSPR's pthreads hook. However, PR_DetachThread can cause a crash if NSS hasn't been initialized at all (e.g. with use_byte_certs=true in unittests), so it's not just unnecessary, but actively harmful. Bug: 671420 Change-Id: I294ac988c53c7b5109b80eec2aef547cb46f650a Reviewed-on: https://chromium-review.googlesource.com/558605Reviewed-by:
Ryan Sleevi <rsleevi@chromium.org> Commit-Queue: Matt Mueller <mattm@chromium.org> Cr-Commit-Position: refs/heads/master@{#488734}
4ddc4520