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 aa5d77e commit 5fd343cCopy full SHA for 5fd343c
1 file changed
CefSharp.OutOfProcess.BrowserProcess/Program.cs
@@ -10,6 +10,7 @@ public class Program
10
{
11
private static bool _disposed;
12
13
+ [STAThread]
14
public static int Main(string[] args)
15
16
Cef.EnableHighDPISupport();
@@ -33,7 +34,7 @@ public static int Main(string[] args)
33
34
35
Cef.Initialize(settings, performDependencyCheck:true, browserProcessHandler: browserProcessHandler);
36
- Task.Run(() =>
37
+ _ = Task.Run(() =>
38
39
parentProcess.WaitForExit();
40
@@ -42,7 +43,7 @@ public static int Main(string[] args)
42
43
return;
44
}
45
- CefThread.ExecuteOnUiThread(() =>
46
+ _ = CefThread.ExecuteOnUiThread(() =>
47
48
Cef.QuitMessageLoop();
49
0 commit comments