destroy method

void destroy()

Implementation

void destroy() {
  _context.removeInstanceLifecycleEventListener(this);
  _controllerRegistry.forEachRenderTree(deleteRoot);
}