mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
CefSharpSettings.SubprocessExitIfParentProcessClosed - only spawn task to monitor parent if command line arg present
Follow up to #2375
This commit is contained in:
@@ -181,6 +181,18 @@ namespace CefSharp.Example
|
||||
|
||||
settings.FocusedNodeChangedEnabled = true;
|
||||
|
||||
//Experimental option where bound async methods are queued on TaskScheduler.Default.
|
||||
//CefSharpSettings.ConcurrentTaskExecution = true;
|
||||
|
||||
//Legacy Binding Behaviour doesn't work for cross-site navigation (navigating to a different domain)
|
||||
//See issue https://github.com/cefsharp/CefSharp/issues/1203 for details
|
||||
//CefSharpSettings.LegacyJavascriptBindingEnabled = true;
|
||||
|
||||
//Exit the subprocess if the parent process happens to close
|
||||
//This is optional at the moment
|
||||
//https://github.com/cefsharp/CefSharp/pull/2375/
|
||||
CefSharpSettings.SubprocessExitIfParentProcessClosed = true;
|
||||
|
||||
//NOTE: Set this before any calls to Cef.Initialize to specify a proxy with username and password
|
||||
//One set this cannot be changed at runtime. If you need to change the proxy at runtime (dynamically) then
|
||||
//see https://github.com/cefsharp/CefSharp/wiki/General-Usage#proxy-resolution
|
||||
@@ -192,13 +204,6 @@ namespace CefSharp.Example
|
||||
}
|
||||
|
||||
Cef.AddCrossOriginWhitelistEntry(BaseUrl, "https", "cefsharp.com", false);
|
||||
|
||||
//Experimental option where bound async methods are queued on TaskScheduler.Default.
|
||||
//CefSharpSettings.ConcurrentTaskExecution = true;
|
||||
|
||||
//Legacy Binding Behaviour doesn't work for cross-site navigation (navigating to a different domain)
|
||||
//See issue https://github.com/cefsharp/CefSharp/issues/1203 for details
|
||||
//CefSharpSettings.LegacyJavascriptBindingEnabled = true;
|
||||
}
|
||||
|
||||
public static async void RegisterTestResources(IWebBrowser browser)
|
||||
|
||||
Reference in New Issue
Block a user