If ClusterSummary::GetUserContent() were called the same time as you reached this delete, that function could be using a deleted pointer to make its copy. Hence, this is not thread safe.