when i called the CefShutdown(); in the qt with cefview

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

when i called the CefShutdown(); in the qt with cefview

Postby wter26 » Thu Feb 15, 2024 10:50 am

when i called the CefShutdown(); in the qt with cefview project. when calling the method of void QCefContextPrivate::uninitializeCef()
the codes after CefShutdown(); seemed is not running.and the qt main prcess stopped the code I've marked below.
I dont know why , is there any tips or solutions to figure out what caused the problem ?
Code: Select all
void QCefContextPrivate::uninitializeCef()
{
  if (!pApp_)
    return;

  pAppDelegate_ = nullptr;
  pApp_ = nullptr;

  // shutdown the cef after running this code ,the next dosent running .
  CefShutdown();

  // clean job object marked the codes
  if (windowsJobHandle_) {
    ::CloseHandle(windowsJobHandle_);
    windowsJobHandle_ = nullptr;
  }
}
wter26
Newbie
 
Posts: 5
Joined: Thu Feb 01, 2024 8:28 pm

Return to Support Forum

Who is online

Users browsing this forum: reito and 151 guests