mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Don't restart the jsonrpc process when reloading data.
This commit is contained in:
parent
2a1d502aff
commit
3dade8bbfc
1 changed files with 1 additions and 2 deletions
|
|
@ -135,10 +135,9 @@ namespace Flow.Launcher.Core.Plugin
|
||||||
|
|
||||||
public virtual async Task ReloadDataAsync()
|
public virtual async Task ReloadDataAsync()
|
||||||
{
|
{
|
||||||
SetupJsonRPC();
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await RPC.InvokeAsync("reload", Context);
|
await RPC.InvokeAsync("reload_data", Context);
|
||||||
}
|
}
|
||||||
catch (RemoteMethodNotFoundException e)
|
catch (RemoteMethodNotFoundException e)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue