void UnloadCEFDll() { CEF_Init = NULL; CEF_Stop = NULL; CEF_RegisterJSExtender = NULL; CEF_RegisterSchemeExtender = NULL; CEF_DeleteCookie = NULL; CEF_CreateCookie = NULL; CEF_SetCookie = NULL; CEF_NewChromiumBrowser = NULL; CEF_DoWork = NULL; CEF_PostCallback = NULL; g_CEFDll.unload(); }
void ShutdownWebControl() { g_bLoaded = false; #ifdef NIX if (m_timeoutSource != 0) { g_source_remove(m_timeoutSource); m_timeoutSource = 0; } #endif if (g_pChromiumController) g_pChromiumController->Stop(); g_pChromiumController = nullptr; g_CEFDll.unload(); }