destroy method

  1. @override
void destroy()
override

Implementation

@override
void destroy() {
  super.destroy();
  renderContext.renderBridgeManager.destroyNativeRenderManager();
  controllerManager.destroy();
  renderContext.removeInstanceLifecycleEventListener(this);
  renderContext.removeEngineLifecycleEventListener(this);
}