mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
remove unused stop watcher
This commit is contained in:
@@ -147,23 +147,13 @@ namespace Wox.Plugin.Program.Programs
|
||||
var support = Environment.OSVersion.Version.Major >= windows10.Major;
|
||||
if (support)
|
||||
{
|
||||
var watch = new System.Diagnostics.Stopwatch();
|
||||
watch.Start();
|
||||
|
||||
var applications = CurrentUserPackages().AsParallel().SelectMany(p => new UWP(p).Apps).ToArray();
|
||||
|
||||
watch.Stop();
|
||||
Log.Info("UWP ALL" + watch.ElapsedMilliseconds);
|
||||
|
||||
return applications;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Application[] { };
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private static IEnumerable<Package> CurrentUserPackages()
|
||||
|
||||
Reference in New Issue
Block a user