Skip to content

Commit 53c937e

Browse files
authored
Merge pull request #2757 from Flow-Launcher/jsonrpc-v2-close-order
fix process exited before calling "close" method on dispose.
2 parents 224a6b1 + 697ddbc commit 53c937e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Core/Plugin/ProcessStreamPluginV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ public override async Task ReloadDataAsync()
8282

8383
public override async ValueTask DisposeAsync()
8484
{
85+
await base.DisposeAsync();
8586
ClientProcess.Kill(true);
8687
await ClientProcess.WaitForExitAsync();
8788
ClientProcess.Dispose();
88-
await base.DisposeAsync();
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)