mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Fix a issues that JSONPRCAction could be null.
This commit is contained in:
@@ -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."))
|
||||
|
||||
Reference in New Issue
Block a user