#8290 commandFile: Crash for scaleFractureTemplate

Make sure closeProject() is called before application exit. If not, some field editors will remain open an cause assert and crash on shutdown.
This commit is contained in:
Magne Sjaastad committed 2021-11-25 09:24:19 +01:00
1 parent 88ca478bab
commit 34ff98d2fa
2 files changed
+6 -2

No files matched your search

@@ -776,8 +776,6 @@ RiaApplication::ApplicationStatus RiaGuiApplication::handleArguments( gsl::not_n
RiuMainWindow::instance()->loadWinGeoAndDockToolBarLayout();
closeProject();
return ApplicationStatus::EXIT_COMPLETED;
}