fix memory leak when reload texture
Merge pull request #8853 from 2youyouo2/v3_EventFrame

fixed emit frame event
Merge pull request #8852 from zhongfq/patch-1

fix memory leak when reload texture