Removing the pending bound query on unregistration orphans any query already awaiting it: nothing else in the dispatcher can complete it, so the js promise never settles and the PromiseHolder and CefV8Context behind it stay alive. Answer those waiters with false instead. A source is only still pending at this point when the registration bailed out because the main frame had no V8 context yet, which is the normal path for objects the host registers before the first document loads.
CefGlue
.NET binding for The Chromium Embedded Framework (CEF).
CefGlue lets you embed Chromium in .NET apps. It is a .NET wrapper control around the Chromium Embedded Framework (CEF). It can be used from C# or any other CLR language and provides both Avalonia and WPF web browser control implementations.
Here's a table for supported architectures, frameworks and operating systems:
| OS | x64 | ARM64 | WPF | Avalonia |
|---|---|---|---|---|
| Windows | ✔️ | ✔️ | ✔️ | ✔️ |
| macOS | ✔️ | ✔️ | ❌ | ✔️ |
| Linux | ✔️ | 🔘 | ❌ | ✔️ |
✔️ Supported ❌ Not supported 🔘 Works with issues.
See LINUX.md for more information about issues and tested distribution list.
Currently only x64 and ARM64 architectures are supported.
Releases
Stable binaries are released on NuGet, and contain everything you need to embed Chromium in your .NET/CLR application.
Documentation
See the Avalonia sample or WPF sample projects for example web browsers built with CefGlue. They demo some of the available features.