mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 08:52:14 -05:00
Call closeProject before quit to ensure a clean shutdown
This commit is contained in:
1 parent
383c7e071d
commit
23cf3fef3a
1 file changed
+1
@@ -66,6 +66,7 @@ void RicExitApplicationFeature::onActionTriggered( bool isChecked )
|
||||
// This was required after moving to Qt6, causing the application not to shut down properly, and ghost processes remains after a forced
|
||||
// shutdown. The slot onLastWindowClosed() configured in RiaGuiApplication::RiaGuiApplication is never called. Testing with
|
||||
// processEvents() had no effect.
|
||||
app->closeProject();
|
||||
app->quit();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user