diff --git a/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc b/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc index b6dff16d2c3ed48a6f91a133acf7ccddc284fe36..2451acba54d7ec24be1f6534f50e143dc4c590b3 100644 --- a/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc +++ b/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc @@ -870,6 +870,9 @@ void NWebHandlerDelegate::OnBeforeClose(CefRefPtr browser) { } } else { content::GpuProcessHost* host = content::GpuProcessHost::Get(); + LOG(ERROR) << "wulonghui host address " << host; + LOG(ERROR) << "wulonghui gpu_host address " << host->gpu_host(); + LOG(ERROR) << "wulonghui main_browser_ address " << main_browser_; if (host != nullptr && host->gpu_host() != nullptr && main_browser_ != nullptr) { host->gpu_host()->DestroyNativeWindow(main_browser_->GetAcceleratedWidget(false)); }