iOS:fix DoricPromise and DoricContext cycle reference causememory leak
This commit is contained in:
parent
a2f2e74380
commit
4ca1ba63e6
@ -24,7 +24,7 @@
|
|||||||
#import "DoricConstant.h"
|
#import "DoricConstant.h"
|
||||||
|
|
||||||
@interface DoricPromise ()
|
@interface DoricPromise ()
|
||||||
@property(nonatomic, strong) DoricContext *context;
|
@property(nonatomic, weak) DoricContext *context;
|
||||||
@property(nonatomic, strong) NSString *callbackId;
|
@property(nonatomic, strong) NSString *callbackId;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
Reference in New Issue
Block a user