diff --git a/Wox/PluginLoader/BasePlugin.cs b/Wox/PluginLoader/BasePlugin.cs index 81c6154820..0edb5b3f5e 100644 --- a/Wox/PluginLoader/BasePlugin.cs +++ b/Wox/PluginLoader/BasePlugin.cs @@ -43,6 +43,8 @@ namespace Wox.PluginLoader JsonRPCResult result1 = result; result.Action = (c) => { + if (result1.JsonRPCAction == null) return false; + if (!string.IsNullOrEmpty(result1.JsonRPCAction.Method)) { if (result1.JsonRPCAction.Method.StartsWith("Wox."))