frontend: Remove crash handler earlier in shutdown

This commit is contained in:
Warchamp7
2025-12-04 15:05:23 -05:00
committed by Ryan Foster
parent 606e1932b8
commit 34a0a6a530
5 changed files with 17 additions and 14 deletions
+5 -2
View File
@@ -1894,9 +1894,10 @@ bool OBSBasic::promptToClose()
SetShowing(true);
QMessageBox::StandardButton button =
OBSMessageBox::question(this, QTStr("ConfirmExit.Title"), QTStr("ConfirmExit.Text"));
OBSMessageBox::question(this, QTStr("ConfirmExit.Title"), QTStr("ConfirmExit.Text"),
QMessageBox::StandardButtons(QMessageBox::Ok | QMessageBox::Cancel));
if (button == QMessageBox::No) {
if (button == QMessageBox::Cancel) {
isClosePromptOpen_ = false;
return false;
}
@@ -1971,6 +1972,8 @@ void OBSBasic::closeWindow()
applicationShutdown();
deleteLater();
emit mainWindowClosed();
QMetaObject::invokeMethod(App(), "quit", Qt::QueuedConnection);
}