From c4c2b3f4dc9c953c5d0233964d532472bc39959e Mon Sep 17 00:00:00 2001 From: jiangteng Date: Thu, 5 Dec 2019 11:24:33 +0800 Subject: [PATCH] fix: fix context memory leak --- Pod/Classes/DoricContextHolder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pod/Classes/DoricContextHolder.h b/Pod/Classes/DoricContextHolder.h index 950193e1..df180d78 100644 --- a/Pod/Classes/DoricContextHolder.h +++ b/Pod/Classes/DoricContextHolder.h @@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN @interface DoricContextHolder : NSObject -@property(nonatomic, strong) DoricContext *doricContext; +@property(nonatomic, weak) DoricContext *doricContext; - (instancetype)initWithContext:(DoricContext *)doricContext;