Fix a heap profiling regression.
Add the prof_tctx_state_destroying transitionary state to fix a race between a thread destroying a tctx and another thread creating a new equivalent tctx. This regression was introduced by 602c8e09 (Implement per thread heap profiling.).
Please register or sign in to comment