DoClose not called after CloseBrowser

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.

DoClose not called after CloseBrowser

Postby micton72 » Mon Jun 27, 2016 9:45 am

Hi,

in my CEF3 project all was working fine with build CEF 3.2623.1401.
Using build CEF 3.2704.1431 application closing is not working .
It seems that after the call to CloseBrowser

Code: Select all
   case WM_CLOSE:{

         if (g_handler.get() && !g_handler->IsClosing()) {
            CefRefPtr<CefBrowser> browser = g_handler->GetBrowser();
            if (browser.get()) {
               browser->GetHost()->CloseBrowser(false);
               return 0;
            }
         }
      }
      break;


ClientHandler::DoClose(CefRefPtr<CefBrowser> browser) is never reached.
With the previous cef build all is working.

What could be the problem ?

Thanks in advance,

Michele
micton72
Newbie
 
Posts: 2
Joined: Mon Jun 27, 2016 9:32 am

Re: DoClose not called after CloseBrowser

Postby micton72 » Thu Jun 30, 2016 1:13 am

Resolved. I was using the previous version of cef3 header files.
micton72
Newbie
 
Posts: 2
Joined: Mon Jun 27, 2016 9:32 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 90 guests