mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Don't thown error when JsonRPCPlugin.cs don't return a JsonFeedBack when calling callback
This commit is contained in:
parent
ffcaa02e31
commit
18e21a8b19
1 changed files with 2 additions and 0 deletions
|
|
@ -91,6 +91,8 @@ namespace Flow.Launcher.Core.Plugin
|
|||
else
|
||||
{
|
||||
string actionReponse = ExecuteCallback(result.JsonRPCAction);
|
||||
if (string.IsNullOrEmpty(actionReponse))
|
||||
return false;
|
||||
JsonRPCRequestModel jsonRpcRequestModel =
|
||||
JsonSerializer.Deserialize<JsonRPCRequestModel>(actionReponse);
|
||||
if (jsonRpcRequestModel != null
|
||||
|
|
|
|||
Loading…
Reference in a new issue