lukaswelte/DCIntrospect-ARC

Infinite loop in setInvokeGestureRecognizer:

Closed this issue · 0 comments

  • (void)setInvokeGestureRecognizer:(UIGestureRecognizer *)newGestureRecognizer
    {
    UIWindow *mainWindow = [self mainWindow];
    [mainWindow removeGestureRecognizer:self.invokeGestureRecognizer];

    self.invokeGestureRecognizer = nil;