Cocos Creator Overwriting 'destroy' function in 'MyComponent' class without calling super is not allowed. Call the super function in 'destroy' please

Hi all, I have added super call inside this method, but still see this error:
image

I can ask engineering to look at this topic. What version of Creator are you using?

This issue has been fed back to the editor-related developers, thanks for your feedback

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

You could try changing ‘destory’ to ‘onDestory’.