Skip to content
Browse files

Fixed crash when warping. _trackingArea was't being zeroed out.

  • Loading branch information...
1 parent a523d3a commit 747c4628f85c45170b7d92cefe716e33e6179d20 @ksuther committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 WarpEdgeView.m
View
5 WarpEdgeView.m
@@ -176,7 +176,10 @@ - (void)fadeOut
[_animation setDelegate:self];
[_animation startAnimation];
- [self removeTrackingArea:_trackingArea];
+ if (_trackingArea) {
+ [self removeTrackingArea:_trackingArea];
+ _trackingArea = nil;
+ }
}
- (void)animationDidEnd:(NSAnimation *)animation

0 comments on commit 747c462

Please sign in to comment.
Something went wrong with that request. Please try again.