Reset the reference intead of deleting it
Merge pull request #11448 from s0undt3ch/develop

Reset the reference intead of deleting it