Clean up usings and update IPC exception handling

Removed unused using directives across multiple files to reduce clutter and unnecessary dependencies. Updated IPCResponseService.cs to suppress debug output in the exception handler for IPC message processing.
This commit is contained in:
Yu Leng
2025-12-12 09:57:48 +08:00
parent 4c93fe01d0
commit 73dca1b598
3 changed files with 1 additions and 7 deletions

View File

@@ -3,7 +3,6 @@
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json;
using System.Text.Json.Serialization;

View File

@@ -5,7 +5,6 @@
#nullable enable
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.IO.Abstractions;
using System.Text.Json;

View File

@@ -4,11 +4,8 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.PowerToys.Settings.UI.Helpers;
using Microsoft.PowerToys.Settings.UI.Library;
using Microsoft.PowerToys.Settings.UI.Library.HotkeyConflicts;
using Microsoft.PowerToys.Settings.UI.Views;
using Windows.Data.Json;
@@ -52,9 +49,8 @@ namespace Microsoft.PowerToys.Settings.UI.Services
}
}
}
catch (Exception ex)
catch (Exception)
{
Debug.WriteLine($"[IPCResponseService] Failed to process IPC message: {ex.Message}");
}
}