We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48194e commit 3773f46Copy full SHA for 3773f46
src/c#/GeneralUpdate.ClientCore/GeneralClientOSS.cs
@@ -48,16 +48,13 @@ await Task.Run(() =>
48
var json = JsonSerializer.Serialize(configGlobalConfigInfo, GlobalConfigInfoOSSJsonContext.Default.GlobalConfigInfoOSS);
49
Environments.SetEnvironmentVariable("GlobalConfigInfoOSS", json);
50
Process.Start(appPath);
51
+ Process.GetCurrentProcess().Kill();
52
}
53
catch (Exception ex)
54
{
55
Debug.WriteLine(ex.Message);
56
throw new Exception(ex.Message + "\n" + ex.StackTrace);
57
- finally
58
- {
59
- Process.GetCurrentProcess().Kill();
60
- }
61
});
62
63
0 commit comments