Merge pull request #90423 from Snowy1803/fix-mandatory-destroy-hoisting