meitu/MTHawkeye

UI 线程崩溃

OHeroJ opened this issue · 1 comments

MTHANRDetectThread.m 中:

 BOOL isStalling = ((now - curRunloopStartFrom) >= self.stallingThresholdInSeconds);
        if (isStalling) {
            if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground) {
                [self processBackgroundStillRunningWithSnapshots:self.stallingSnapshots];
            }

在子线程中访问 UI!!!

还没合并