mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-27 23:56:12 -04:00
UI: Try closing remux before initiating shutdown
Makes OBS try to close the remux dialog before Clearing Scene data since in case a remux might still be going on and the user does want to abort closing OBS.
This commit is contained in:
@@ -4676,6 +4676,12 @@ void OBSBasic::closeEvent(QCloseEvent *event)
|
||||
}
|
||||
}
|
||||
|
||||
if (remux && !remux->close()) {
|
||||
event->ignore();
|
||||
restart = false;
|
||||
return;
|
||||
}
|
||||
|
||||
QWidget::closeEvent(event);
|
||||
if (!event->isAccepted())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user