【发布时间】:2017-08-08 06:36:01
【问题描述】:
我创建了一个 MFC DLL,它实现了 CEF 初始化、关闭和其他功能。当我使用这个DLL时,CefInitialize和其他功能都正常,但是我的程序在AfxFreeLibrary崩溃了。此时CEF Shutdown已经执行成功,没有出现错误。
这是我的 CefSetting:
CefSettings cefSettings;
CefSettingsTraits::init(&cefSettings);
cefSettings.windowless_rendering_enabled = TRUE;
cefSettings.multi_threaded_message_loop = TRUE;
cefSettings.no_sandbox = TRUE;
cefSettings.single_process = false;
这是调用堆栈:
看起来线程等待事件超时并触发 NOTREACHED();
我该如何解决这个问题?
【问题讨论】:
标签: c++ dll crash chromium-embedded