Skip to content

Commit

Permalink
Fixed zombie pointer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Fedotov committed Aug 16, 2016
1 parent f346326 commit 3841e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MGSwipeTableCell/MGSwipeTableCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ -(void) panHandler: (UIPanGestureRecognizer *)gesture
else {
MGSwipeButtonsView * expansion = _activeExpansion;
if (expansion) {
UIView * expandedButton = [expansion getExpandedButton];
__weak UIView * expandedButton = [expansion getExpandedButton];
MGSwipeExpansionSettings * expSettings = _swipeOffset > 0 ? _leftExpansion : _rightExpansion;
UIColor * backgroundColor = nil;
if (!expSettings.fillOnTrigger && expSettings.expansionColor) {
Expand Down

0 comments on commit 3841e6b

Please sign in to comment.