Set shutdownOnProcessExit to false (code has actually been removed so it's ignored totally now, just updating for completeness)
Remove --disable-gpu from OSR examples
This commit is contained in:
@@ -23,11 +23,9 @@ namespace CefSharp.MinimalExample.OffScreen
|
||||
Console.WriteLine();
|
||||
|
||||
var settings = new CefSettings();
|
||||
// Disable GPU in WPF and Offscreen examples until #1634 has been resolved
|
||||
settings.CefCommandLineArgs.Add("disable-gpu", "1");
|
||||
|
||||
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||
Cef.Initialize(settings, shutdownOnProcessExit: true, performDependencyCheck: true);
|
||||
Cef.Initialize(settings, shutdownOnProcessExit: false, performDependencyCheck: true);
|
||||
|
||||
// Create the offscreen Chromium browser.
|
||||
browser = new ChromiumWebBrowser(testUrl);
|
||||
|
Reference in New Issue
Block a user