destroyRootView method
Implementation
void destroyRootView(int id, bool isReload) {
var removeViewModel = _rootViewModelMap[id];
if (removeViewModel != null) {
_loadContextMap.remove(id);
_renderManager.onInstanceDestroy(id);
_renderManager.deleteNode(id, id);
_domHolder.removeRoot(_domHolder.id, id);
}
if (!isReload) _rootViewModelMap.remove(id);
}