Clean up Flipper's iOS layout invalidation
Summary: This reverts D21285438 and patches some holes in the layout invalidation routines. (I tried to use `didAddSubview:` and `willRemoveSubview:` but those are annoying for other reasons; for example, `willRemoveSubview:` can be called from within `dealloc` which is surprising. Also they still don't catch the case where subviews are being reordered.) Reviewed By: Andrey-Mishanin Differential Revision: D21512129 fbshipit-source-id: 1d9e8dac9333eddfae2309d446ef4de9e83220d6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
258b0314f5
commit
82898b784e
@@ -384,10 +384,6 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void)invalidateRootNode {
|
||||
[self invalidateNode:_rootNode];
|
||||
}
|
||||
|
||||
- (void)_reportInvalidatedObjects {
|
||||
NSMutableArray* nodes = [NSMutableArray new];
|
||||
{ // scope mutex acquisition
|
||||
|
||||
Reference in New Issue
Block a user