Skip to content

WPF - CefSharp.BrowserSubprocess not closing when browser Disposed #2673

@mtinnes

Description

@mtinnes
  • What version of the product are you using?
    72

  • What architecture x86 or x64?
    x64

  • On what operating system?
    Win10

  • Are you using WinForms, WPF or OffScreen?
    WPF

  • What steps will reproduce the problem?
    Our application requires continuous creating and releasing of CefSharp.Wpf.ChromiumWebBrowser. To do this we have a custom control using a template XAML form containing ChromiumWebBrowser. Our app instantiates the custom control and releases/disposes it in roughly 10 second intervals.

  • What is the expected output? What do you see instead?
    Expected to consume memory for only the currently instantiated browser. Instead, we see continuous growth of the number of BrowserSubprocess processes which results in a low or even out of memory condition.

  • Please provide any additional information below.
    No stack trace since the issue does not necessary crash until OOM.

    • Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory)
      No out of the ordinary log activity.

    • Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls?
      No

  • Does this problem also occur in the CEF Sample Application from http://opensource.spotify.com/cefbuilds/index.html?
    Does not have the same type of cyclic functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions