فهرست منبع

Throw exception when calling unreachable function

Bond_009 6 سال پیش
والد
کامیت
78dafb5399
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      Emby.Server.Implementations/ApplicationHost.cs

+ 0 - 3
Emby.Server.Implementations/ApplicationHost.cs

@@ -2291,10 +2291,7 @@ namespace Emby.Server.Implementations
         /// <returns>Task{CheckForUpdateResult}.</returns>
         public Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
         {
-#if DEBUG
             throw new Exception("Unimplemented");
-#endif
-            return Task.FromResult(new CheckForUpdateResult());
         }
 
         /// <summary>