stop Surface
Stop surface and all operations within it. Garbage-collect Views (caller is responsible for removing RootView from View layer).
Delete rootView from cache. Since RN does not control the RootView, in a sense, the fragment is responsible for actually removing the RootView from the hierarchy / tearing down the fragment.
In the original version(s) of this function, we recursively went through all children of the View and dropped those Views as well; ad infinitum. This was before we had a SurfaceMountingManager, and all tags were in one global map. Doing this was particularly important in the case of StopSurface, where race conditions between threads meant you couldn't rely on DELETE instructions actually deleting all Views in the Surface.
Now that we have SurfaceMountingManager, we can simply drop our local reference to the View. Since it will be removed from the View hierarchy entirely (outside of the scope of this class), garbage collection will take care of destroying it and all descendents.