Closed rzolin closed 10 years ago
I am using the latest 1.1.2 cocoa pod and have found a memory leak.
In method:
- (void)setup { UILongPressGestureRecognizer *movingGestureRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)]; [movingGestureRecognizer setDelegate:self]; [self addGestureRecognizer:movingGestureRecognizer]; [self setMovingGestureRecognizer:movingGestureRecognizer]; }
movingGestureRecognizer is not released.
The project needs to run under ARC, so can't be a memory leak.
I am using the latest 1.1.2 cocoa pod and have found a memory leak.
In method:
movingGestureRecognizer is not released.