| 37 | } |
| 38 | |
| 39 | void destroyTree(Ref<ViewNodeTree>& tree) { |
| 40 | auto rootViewNode = tree->getRootViewNode(); |
| 41 | if (rootViewNode != nullptr) { |
| 42 | tree->removeViewNode(rootViewNode->getRawId()); |
| 43 | rootViewNode = nullptr; |
| 44 | } |
| 45 | tree = nullptr; |
| 46 | } |
| 47 | |
| 48 | StandaloneMainQueue mainQueue; |
| 49 | MainThreadManager mainThreadManager; |
no test coverage detected