浏览代码

Apply suggestions from code review

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Patrick Barron 1 年之前
父节点
当前提交
ab0790271a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Emby.Server.Implementations/ApplicationHost.cs

+ 2 - 2
Emby.Server.Implementations/ApplicationHost.cs

@@ -203,10 +203,10 @@ namespace Emby.Server.Implementations
         public bool HasPendingRestart { get; private set; }
 
         /// <inheritdoc />
-        public bool IsShuttingDown { get; set; }
+        public bool IsShuttingDown { get; private set; }
 
         /// <inheritdoc />
-        public bool ShouldRestart { get; set; }
+        public bool ShouldRestart { get; private set; }
 
         /// <summary>
         /// Gets the logger.