OnExit() is overloaded in Scene that cocos-js does not have, and super() is not called; resulting in resources not being destroyed
cocos-js does not have Overload onExit() in Scene without calling super(); resulting in the resource not being destroyed