We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b03aa4 + 3dade8b commit cc463c8Copy full SHA for cc463c8
Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs
@@ -112,10 +112,15 @@ private void SetupJsonRPC()
112
RPC.StartListening();
113
}
114
115
- public virtual Task ReloadDataAsync()
+ public virtual async Task ReloadDataAsync()
116
{
117
- SetupJsonRPC();
118
- return Task.CompletedTask;
+ try
+ {
119
+ await RPC.InvokeAsync("reload_data", Context);
120
+ }
121
+ catch (RemoteMethodNotFoundException e)
122
123
124
125
126
public virtual async ValueTask DisposeAsync()
0 commit comments