SKDescriptorMapper should be a weak reference
Summary: ^ SKDescriptorMapper owns the SKNodeDescriptor instances. SKNodeDescriptor instances should only have a weak reference to the mapper as to avoid retain cycles. Reviewed By: passy Differential Revision: D42673698 fbshipit-source-id: 8c98709b28fc3c711dc56c179c7c362417fa1f9d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
764e94503e
commit
f44feb69e0
@@ -11,7 +11,7 @@
|
||||
#import <FlipperKitLayoutTextSearchable/FKTextSearchable.h>
|
||||
|
||||
@implementation SKNodeDescriptor {
|
||||
id<SKDescriptorMapperProtocol> _mapper;
|
||||
__weak id<SKDescriptorMapperProtocol> _mapper;
|
||||
}
|
||||
|
||||
- (void)setUp {
|
||||
|
||||
Reference in New Issue
Block a user