tishion / QCefView

Moved to CefView/QCefView
https://cefview.github.io/QCefView/
GNU Lesser General Public License v3.0
314 stars 116 forks source link

delete QCefView 后再次使用crash #87

Closed 0exception closed 3 years ago

0exception commented 3 years ago

父窗口析构后,delete了QCefView -》closeallbrowser -》CEFShutDown 进程没有退出,再次走一遍父窗口 初始化QcefView流程 crash

0exception commented 3 years ago

if (!reverse) { reverse = true; ui.cefContainer->layout()->removeWidget(cefview); delete cefview; cefview = nullptr; } else { cefview = new CustomCefView("https://www.baidu.com", this); //crash at cef_initialize function ui.cefContainer->layout()->addWidget(cefview); }

Liminglyq commented 3 years ago

你好 这个问题怎么解决的?