Solved the bug related to the toggle inspector of iOS

Summary:
Before this diff the nodes were not invalidated properly when the new view got added in the hierarchy, due to this there was following bug.

https://our.intern.facebook.com/intern/px/p/15RSP

Reviewed By: Andrey-Mishanin

Differential Revision: D21285438

fbshipit-source-id: b72aa93856688b31296ae1df4f15e128037aa1ca
This commit is contained in:
Pritesh Nandgaonkar
2020-05-04 09:50:11 -07:00
committed by Facebook GitHub Bot
parent d360c95a6d
commit 794d2f282f
3 changed files with 22 additions and 3 deletions

View File

@@ -371,6 +371,10 @@
});
}
- (void)invalidateRootNode {
[self invalidateNode:_rootNode];
}
- (void)_reportInvalidatedObjects {
NSMutableArray* nodes = [NSMutableArray new];
{ // scope mutex acquisition