Hey there,
I've noticed that with the latest CEF versions, when I quit our C# app there's a crash in the CEF.dll. It happens somewhere in it, it's hard to tell why though. Here's the stack:
> KernelBase.dll!757a9617()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
KernelBase.dll!757a9617()
mscorwks.dll!67f572f9()
mscorwks.dll!67ee67c9()
mscorwks.dll!67d31aaa()
CefSharp.dll!CefCppToC<CefClientCppToC,CefClient,_cef_client_t>::UnderlyingRelease() + 0x4a bytes
CefSharp.dll!CefCppToC<CefClientCppToC,CefClient,_cef_client_t>::UnderlyingRelease() + 0x4a bytes
mscorwks.dll!67d3c05c()
That is, without trying to call CEF.Shutdown. If I call shutdown, I'm getting an assertion failed in
.\libcef_dll\wrapper\lib_cef_wrapper.cc, line 144
Expression CefRequestCToCpp::DebugObjCt == 0
I've noticed that the sample example from your github project doesn't actually crash, but rather hangs in the web view.dispose. It doesn't call CEF.Shutdown either.
I assume it's related, and was wondering if you knew why that happens and how to prevent it?
The first crash doesn't happen all the time. The assert happens all the time if I call CEF.shutdown. Am I not supposed to call it?
Thanks for all the help you could provide.