Try to avoid accessing profiling objects after they are freed.