lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.21k stars 58 forks source link

NullReferenceException when disabling PowerToys Run #5

Closed CEbbinghaus closed 2 years ago

CEbbinghaus commented 2 years ago

When turning off the PowerToys search toggle It crashes with a NullReferenceException that Originates from the Everything plugin

Version: 0.56.2.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 8/03/2022 2:40:20 PM
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Community.PowerToys.Run.Plugin.Everything.Main.Dispose(Boolean disposing)
   at Community.PowerToys.Run.Plugin.Everything.Main.Dispose()
   at PowerLauncher.Plugin.PluginManager.Dispose()
   at PowerLauncher.App.<>c__DisplayClass22_0.<Dispose>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.Dispose(Boolean disposing)
   at PowerLauncher.App.Dispose()
   at PowerLauncher.App.ExitPowerToys(App app)
   at PowerLauncher.App.<>c__DisplayClass13_0.<Main>b__0()
   at System.Threading.Thread.StartCallback()

full log can be found here

lin-ycv commented 2 years ago

OK, I think I know what the problem is, let me do some more testing, will try to get a fix out today.