diff --git a/HTML.CEF/CefSystem.cs b/HTML.CEF/CefSystem.cs index bcca438b..6b66f2cb 100644 --- a/HTML.CEF/CefSystem.cs +++ b/HTML.CEF/CefSystem.cs @@ -56,6 +56,8 @@ public bool Init(ReadOnlySpan pBaseDir, IHtmlResourceHandler resourceHandl BrowserSubprocessPath = Path.Combine(chromiumDir, OperatingSystem.IsWindows() ? "HTML.CEF.Process.exe" : "HTML.CEF.Process"), }; + Environment.SetEnvironmentVariable("DOTNET_DiagnosticPorts", null); + try { CefRuntime.Initialize(new CefMainArgs([]), settings, new CefApplication(), 0); }