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 94e3118 commit 926cd72Copy full SHA for 926cd72
CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h
@@ -67,6 +67,14 @@ namespace CefSharp
67
{
68
auto type = CommandLineArgsParser::GetArgumentValue(args, CefSharpArguments::SubProcessTypeArgument);
69
70
+ if (String::IsNullOrEmpty(type))
71
+ {
72
+ //If --type param missing from command line CEF/Chromium assums
73
+ //this is the main process (as all subprocesses must have a type param).
74
+ //Return -1 to indicate this behaviour.
75
+ return -1;
76
+ }
77
+
78
auto parentProcessId = -1;
79
80
// The Crashpad Handler doesn't have any HostProcessIdArgument, so we must not try to
0 commit comments