Permalink
Browse files

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

  • Loading branch information...
ksuther committed Mar 8, 2011
1 parent a523d3a commit 747c4628f85c45170b7d92cefe716e33e6179d20
Showing with 4 additions and 1 deletion.
  1. +4 −1 WarpEdgeView.m
View
@@ -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.