Skip to content

Support process singleton with IBrowserProcessHandler.OnAlreadyRunningAppRelaunch callback #4668

@Mik4sa

Description

@Mik4sa

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

120.1.110

Operating System

Windows 11

Architecture

x64

.Net Version

.NET 4.7.2

Implementation

WinForms

Reproduction Steps

Reproducible with CefSharp.MinimalExample since 120.1.110 (cefsharp/CefSharp.MinimalExample@136a65e).
Just launch the application twice.

Expected behavior

A second launch of the application should be possible (without any restrictions).

Actual behavior

A launch of any more instances result in a crash.

This is the output of thedebug.log from the second launch:

[0109/101550.274:ERROR:crashpad_client_win.cc(546)] CreateProcess: Das System kann die angegebene Datei nicht finden. (0x2)
[0109/101550.285:INFO:crash_reporting.cc(216)] Crash reporting enabled for process: browser
[0109/101550.289:WARNING:alloy_browser_main.cc(167)] Unhandled app relaunch; implement CefBrowserProcessHandler::OnAlreadyRunningAppRelaunch.
[0109/101550.289:ERROR:crashpad_client_win.cc(143)] crash server failed to launch, self-terminating

Regression?

This was working with v120.1.80.

Known Workarounds

No known workarounds

Does this problem also occur in the CEF Sample Application

No

Other information

No response

Metadata

Metadata

Assignees

Labels

breaking-changeupstreamThese issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions