Commit bd163b07 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Ming Rui Zhang

messageview: fix CEF audio device crash on quit

Change-Id: If095ea0ea0c5b54179dc1df136000471963a70a1
parent 0d50e0a4
......@@ -295,6 +295,12 @@ void MainWindow::closeEvent(QCloseEvent* event)
this->hide();
event->ignore();
} else {
/* HACK: temp fix for Chromium embedded framework crash
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=14382#p31786
fixed as of Qt 5.12 */
if (auto callWidget = ui->navStack->widget(ScreenEnum::CallScreen)) {
delete callWidget;
}
settings.setValue(SettingsKey::geometry, saveGeometry());
settings.setValue(SettingsKey::windowState, saveState());
this->disconnect(screenChangedConnection_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment