mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
cc6eaa65d6
The problem seems to be that OnContextCreated is never called as the page has no javascript code on it. Keep the same callbackRegistry logic for kJavascriptCallbackRequest as without a context there cannot be a callback For kEvaluateJavascriptRequest we now manually create a callback registry for the frame if required. Once the script is executed OnContextCreated is called, the wrapper creation is ignored and the context should be released as per normal in OnContextReleased