Pierre-Olivier Latour 10 жил өмнө
parent
commit
4e31508195

+ 0 - 2
GCDWebServer/Core/GCDWebServer.m

@@ -284,8 +284,6 @@ static void _ExecuteMainThreadRunLoopSources() {
     [[UIApplication sharedApplication] endBackgroundTask:_backgroundTask];
     [[UIApplication sharedApplication] endBackgroundTask:_backgroundTask];
     _backgroundTask = UIBackgroundTaskInvalid;
     _backgroundTask = UIBackgroundTaskInvalid;
     GWS_LOG_DEBUG(@"Did end background task");
     GWS_LOG_DEBUG(@"Did end background task");
-  } else if ([UIApplication sharedApplication]) {
-    GWS_DNOT_REACHED();
   }
   }
 }
 }