mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #7785 from OPM/octave-fix
Octave : Always execute command objects in queue before return
This commit is contained in:
commit
8a2def774a
@ -1582,6 +1582,9 @@ void RiaGuiApplication::slotWorkerProcessFinished( int exitCode, QProcess::ExitS
|
||||
}
|
||||
m_workerProcess = nullptr;
|
||||
|
||||
// Always make sure the command objects are executed before any return statement
|
||||
executeCommandObjects();
|
||||
|
||||
// Either the work process crashed or was aborted by the user
|
||||
if ( exitStatus == QProcess::CrashExit )
|
||||
{
|
||||
@ -1590,8 +1593,6 @@ void RiaGuiApplication::slotWorkerProcessFinished( int exitCode, QProcess::ExitS
|
||||
return;
|
||||
}
|
||||
|
||||
executeCommandObjects();
|
||||
|
||||
// Exit code != 0 means we have an error
|
||||
if ( exitCode != 0 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user