Skip to content

Commit

Permalink
fix retain cycle - prevented controller from being dealloc (issue alv…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary A. Morris committed Oct 31, 2013
1 parent f0fc850 commit 011749d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FPPopoverController.m
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ -(id)initWithViewController:(UIViewController*)viewController

#if __has_feature(objc_arc)
//ARC on
id bself = self;
__weak id bself = self;
#else
//ARC off
__block id bself = self;
Expand Down

0 comments on commit 011749d

Please sign in to comment.