/// <summary> /// Unregisters a root view with the given tag. /// </summary> /// <param name="rootViewTag">The root view tag.</param> public void RemoveRootView(int rootViewTag) { _shadowNodeRegistry.RemoveRootNode(rootViewTag); _operationsQueue.EnqueueRemoveRootView(rootViewTag); }
/// <summary> /// Unregisters a root view with the given tag. /// </summary> /// <param name="rootViewTag">The root view tag.</param> public Task RemoveRootViewAsync(int rootViewTag) { _shadowNodeRegistry.RemoveRootNode(rootViewTag); return(_operationsQueue.RemoveRootViewAsync(rootViewTag)); }