diff --git a/SightKeeper.Application/Screenshotting/Screenshotter`1.cs b/SightKeeper.Application/Screenshotting/Screenshotter`1.cs index 91bb8b79..13519ef4 100644 --- a/SightKeeper.Application/Screenshotting/Screenshotter`1.cs +++ b/SightKeeper.Application/Screenshotting/Screenshotter`1.cs @@ -74,7 +74,6 @@ protected override void MakeScreenshots(ActionContext context) else contextEliminated = !context.Alive; stopwatch.Stop(); - Console.WriteLine($"Elapsed: {stopwatch.Elapsed.TotalMilliseconds:N1}ms"); } } } \ No newline at end of file diff --git a/SightKeeper.Avalonia/WriteableBitmapPool.cs b/SightKeeper.Avalonia/WriteableBitmapPool.cs index 86d60bfa..1c96d44e 100644 --- a/SightKeeper.Avalonia/WriteableBitmapPool.cs +++ b/SightKeeper.Avalonia/WriteableBitmapPool.cs @@ -15,11 +15,7 @@ public WriteableBitmap Rent(PixelSize size, PixelFormat? format = null) BitmapArchetype archetype = new(size, format); var bag = GetOrCreateBag(archetype); if (bag.TryTake(out var bitmap)) - { - Console.WriteLine($"Rented: {archetype}"); return bitmap; - } - Console.WriteLine($"Allocated: {archetype}"); return new WriteableBitmap(size, DPI, format); } @@ -28,7 +24,6 @@ public void Return(WriteableBitmap bitmap) BitmapArchetype archetype = new(bitmap.PixelSize, bitmap.Format); var bag = GetOrCreateBag(archetype); bag.Add(bitmap); - Console.WriteLine($"Returned: {archetype}"); } private static readonly Vector DPI = new(96, 96);