Hacky CEF shutdown needed when using CefDoMessageLoopWork

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.

Re: Hacky CEF shutdown needed when using CefDoMessageLoopWor

Postby rjxray » Tue Jun 30, 2020 6:33 am

I'm doing it like this
Code: Select all
      bool closed = false;
      while (!closed) {
         closed = browser_->GetHost()->TryCloseBrowser();
         CefDoMessageLoopWork();
      }
      delete browser_;
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: TakashiHSD and 39 guests