Skip to content

Cef.Shutdown() hangs if ChromiumWebBrowser is already disposed #820

@peters

Description

@peters

If you call the ChromiumWebBrowser.Dispose() method before calling Cef.Shutdown() the application will hang and is unable to shutdown. Removing the call to dispose fixes the issue.

This is observed on the latest 39.0.0-pre02 -pre release.

var browser = new ChromiumWebBrowser();
browser.Dispose();
Cef.Shutdown();

Ref: ChromiumWebBrowser.cs
Ref: Cef.h

There has to be some weirdness involved in relation to AddDisposable/RemoveDisposable.

/cc @amaitland

Metadata

Metadata

Assignees

No one assigned

    Labels

    wpfWPF Implementation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions