diff --git a/Natives/PLLogOutputView.m b/Natives/PLLogOutputView.m index 4275a31d..57be7f09 100644 --- a/Natives/PLLogOutputView.m +++ b/Natives/PLLogOutputView.m @@ -124,10 +124,7 @@ static PLLogOutputView* current; - (void)actionToggleLogOutput { if (fatalErrorOccurred) { [UIApplication.sharedApplication performSelector:@selector(suspend)]; - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 200 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{ - dispatch_group_leave(fatalExitGroup); - fatalExitGroup = nil; - }); + dispatch_group_leave(fatalExitGroup); return; } diff --git a/Natives/SurfaceViewController+Navigation.m b/Natives/SurfaceViewController+Navigation.m index 8d9a30e8..411173f8 100644 --- a/Natives/SurfaceViewController+Navigation.m +++ b/Natives/SurfaceViewController+Navigation.m @@ -119,7 +119,6 @@ static CGPoint lastCenterPoint; exit(0); } else { dispatch_group_leave(fatalExitGroup); - fatalExitGroup = nil; } }]; }];