mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
JavascriptRootObjectWrapper - Log error when trying to bind sync object when IBrowserProcess is null
This commit is contained in:
@@ -29,6 +29,13 @@ namespace CefSharp
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_browserProcess == nullptr)
|
||||
{
|
||||
LOG(ERROR) << StringUtils::ToNative("IBrowserProcess is null, unable to bind object " + obj->JavascriptName).ToString();
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
auto wrapperObject = gcnew JavascriptObjectWrapper(_browserProcess);
|
||||
wrapperObject->Bind(obj, v8Value, _callbackRegistry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user