mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #2757 from Flow-Launcher/jsonrpc-v2-close-order
fix process exited before calling "close" method on dispose.
This commit is contained in:
commit
53c937ede2
1 changed files with 1 additions and 1 deletions
|
|
@ -82,10 +82,10 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
public override async ValueTask DisposeAsync()
|
||||
{
|
||||
await base.DisposeAsync();
|
||||
ClientProcess.Kill(true);
|
||||
await ClientProcess.WaitForExitAsync();
|
||||
ClientProcess.Dispose();
|
||||
await base.DisposeAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue