Flow.Launcher/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything
Jack251970 3d8fd1d352 Improve cancellation, locking, and logging mechanisms
Enhanced cancellation handling by adding `token.IsCancellationRequested` checks to improve responsiveness. Refactored locking mechanisms for `_win32sLock` and `_uwpsLock` using `try-finally` blocks to ensure proper acquisition and release, improving thread safety and preventing deadlocks.

Reorganized Win32 and UWP program querying logic for better modularity and readability. Replaced shared collection access with local variables to improve clarity and maintain thread safety. Simplified empty result handling by directly returning `emptyResults` when canceled.

Removed redundant debug log statements to reduce verbosity and updated remaining logs for clarity. Suppressed unused result warnings by replacing direct calls to `EverythingApiDllImport.Everything_GetMajorVersion()` with null-coalescing assignments.
2025-11-06 15:28:13 +08:00
..
Exceptions Add missing File 2022-06-25 12:39:01 -05:00
EverythingAPI.cs Improve cancellation, locking, and logging mechanisms 2025-11-06 15:28:13 +08:00
EverythingApiDllImport.cs Use Localization for Explorer plugin 2025-07-16 21:28:17 +08:00
EverythingDownloadHelper.cs Use Flow.Launcher.Localization to improve code quality 2025-09-21 11:50:51 +08:00
EverythingSearchManager.cs Use Flow.Launcher.Localization to improve code quality 2025-09-21 11:50:51 +08:00
EverythingSearchOption.cs Use Localization for Explorer plugin 2025-07-16 21:28:17 +08:00
EverythingSortOption.cs Use Localization for Explorer plugin 2025-07-16 21:28:17 +08:00