Skip to content

Commit 0365c62

Browse files
committed
CCBAnimationManager's delegate weakly referenced now.
1 parent 06b3598 commit 0365c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocos2d-ui/CCBReader/CCBAnimationManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
id __unsafe_unretained owner;
5252
CGSize rootContainerSize;
5353

54-
NSObject<CCBAnimationManagerDelegate>* delegate;
54+
__weak NSObject<CCBAnimationManagerDelegate>* delegate;
5555
CCBSequence* runningSequence;
5656

5757
void (^block)(id sender);
@@ -61,7 +61,7 @@
6161
@property (nonatomic,unsafe_unretained) CCNode* rootNode;
6262
@property (nonatomic,unsafe_unretained) id owner;
6363
@property (nonatomic,assign) CGSize rootContainerSize;
64-
@property (nonatomic,strong) NSObject<CCBAnimationManagerDelegate>* delegate;
64+
@property (nonatomic,weak) NSObject<CCBAnimationManagerDelegate>* delegate;
6565
@property (unsafe_unretained, nonatomic,readonly) NSString* runningSequenceName;
6666
@property (nonatomic,readonly) NSString* lastCompletedSequenceName;
6767

0 commit comments

Comments
 (0)