It might have been deleted already during shutdown by `_onDestroy()`. Fixes: #6512 Part-of: <!2693> (cherry picked from commit b8013704)