[PTRun][Settings][Program] Fix 100% CPU load issue (#17414)

* [PTRun][Program]Don't reload on settings change

* [PTRun][Settings] Don't trigger saves on visual property changes

* [PTRun][Settings] Fix manipulation of searched plugins

* [PTRun][Settings] Don't reload settings if we wrote recently

* fix PR comments nit
This commit is contained in:
Jaime Bernardo
2022-04-01 14:50:16 +01:00
committed by GitHub
parent 172c63f1e2
commit 04588bc7e0
3 changed files with 31 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ using Stopwatch = Wox.Infrastructure.Stopwatch;
namespace Microsoft.Plugin.Program
{
public class Main : IPlugin, IPluginI18n, IContextMenu, ISavable, IReloadable, IDisposable
public class Main : IPlugin, IPluginI18n, IContextMenu, ISavable, IDisposable
{
// The order of this array is important! The Parsers will be checked in order (index 0 to index Length-1) and the first parser which is able to parse the Query will be used
// NoArgumentsArgumentParser does always succeed and therefor should always be last/fallback
@@ -194,11 +194,6 @@ namespace Microsoft.Plugin.Program
}
}
public void ReloadData()
{
IndexPrograms();
}
public void Dispose()
{
Dispose(disposing: true);