cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.88k stars 2.92k forks source link

CefSharp opens the Chromium browser when opening more than 1 instances of the program #4975

Closed jkiller295 closed 1 week ago

jkiller295 commented 2 weeks ago

Is there an existing issue for this?

CefSharp Version

130.1.90

Operating System

Windows 11

Architecture

x86

.Net Version

.NET Framework 4.7

Implementation

WinForms

Reproduction Steps

  1. Install CefSharp.Winforms 130.1.90 from Nuget
  2. Add the following code to the Program.cs file, just above the line Application.EnableVisualStyles();
    CefSettings settings = new CefSettings();
    settings.LogSeverity = LogSeverity.Disable;
    Cef.Initialize(settings);
  3. Build the project. Open more than 1 instance of the program

Expected behavior

All the instances of the program should open normally.

Actual behavior

From the 2nd instance onwards, a Chromium browser opens with an error. FYI it is happening to the CefSharp.MinimalExample.WinForms sample solution downloaded from here too. image

Regression?

It worked fine in 120.2.70 and up to 126.2.180.0. 127.3.50 onwards have this issue

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

No response