Skip to content

Commit

Permalink
Merge pull request MortimerGoro#228 from Skript/master
Browse files Browse the repository at this point in the history
Fixed zombie pointer issue
  • Loading branch information
MortimerGoro authored Oct 1, 2016
2 parents 1b9d2d0 + 3841e6b commit eacd648
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 @@ -1236,7 +1236,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 eacd648

Please sign in to comment.