diff --git a/Hi.Webapi.csproj b/Hi.Webapi.csproj index bd4a58d..b2d716e 100644 --- a/Hi.Webapi.csproj +++ b/Hi.Webapi.csproj @@ -10,7 +10,7 @@ Hi.Webapi $(AssemblyName) HiNC webapi class library. - 2 + 5 3.1.$(VersionBuild) HiAPI Debug;Release @@ -32,6 +32,7 @@ true true true + true DEBUG;TRACE diff --git a/Hubs/RenderingHub.cs b/Hubs/RenderingHub.cs index 73ac795..62d8d79 100644 --- a/Hubs/RenderingHub.cs +++ b/Hubs/RenderingHub.cs @@ -13,9 +13,9 @@ namespace Hi.Webapi.Hubs { private readonly RenderingService _renderingService; private readonly ILogger _logger; - private readonly Dictionary _lastFrameCache = new(); - private readonly Dictionary _lastFrameTime = new(); - private readonly Dictionary _sketchViewCache = new(); + private readonly Dictionary _lastFrameCache = []; + private readonly Dictionary _lastFrameTime = []; + private readonly Dictionary _sketchViewCache = []; public RenderingHub(RenderingService renderingService, ILogger logger) {