Why do smart pointers null out the wrapped pointer before destroying it? July 12, 2021 Jul 12, 2021 07/12/21 Raymond Chen It's not a race condition, but it's some condition.