Don't restart the jsonrpc process when reloading data.

This commit is contained in:
Kevin Zhang 2025-02-19 00:03:46 -08:00 committed by GitHub
parent 2a1d502aff
commit 3dade8bbfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,10 +135,9 @@ namespace Flow.Launcher.Core.Plugin
public virtual async Task ReloadDataAsync()
{
SetupJsonRPC();
try
{
await RPC.InvokeAsync("reload", Context);
await RPC.InvokeAsync("reload_data", Context);
}
catch (RemoteMethodNotFoundException e)
{