Ejemplo n.º 1
0
CWebCore::~CWebCore ()
{
    // Unregister schema factories
    CefClearSchemeHandlerFactories();

    // Shutdown CEF
    CefShutdown();

    delete m_pRequestsGUI;
    delete m_pXmlConfig;
}
Ejemplo n.º 2
0
WebBrowserHost::~WebBrowserHost()
{
    instance_ = 0;

    // TODO: Better place for this?  If there are issues with cookies not persisting
    // it is possible the async nature of this call could be a culprit
    CefRefPtr<CefCookieManager> manager = CefCookieManager::GetGlobalManager(nullptr);
    if (manager.get())
        manager->FlushStore(nullptr);

    CefClearSchemeHandlerFactories();
    CefShutdown();
}
Ejemplo n.º 3
0
WebBrowserHost::~WebBrowserHost()
{
    instance_ = 0;
    CefClearSchemeHandlerFactories();
    CefShutdown();
}