Skip to content

Commit 3dade8b

Browse files
authored
Don't restart the jsonrpc process when reloading data.
1 parent 2a1d502 commit 3dade8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,9 @@ private void SetupJsonRPC()
135135

136136
public virtual async Task ReloadDataAsync()
137137
{
138-
SetupJsonRPC();
139138
try
140139
{
141-
await RPC.InvokeAsync("reload", Context);
140+
await RPC.InvokeAsync("reload_data", Context);
142141
}
143142
catch (RemoteMethodNotFoundException e)
144143
{

0 commit comments

Comments
 (0)