mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1446 Ensure batch execution does not crash when closing ResInsight
This commit is contained in:
parent
c845eefb96
commit
a08dbc91ba
@ -1399,7 +1399,8 @@ bool RiaApplication::parseArguments()
|
||||
std::vector<QString> gridFiles = readFileListFromTextFile(gridListFile);
|
||||
runMultiCaseSnapshots(projectFileName, gridFiles, "multiCaseSnapshots");
|
||||
|
||||
closeProject();
|
||||
closeAllWindows();
|
||||
processEvents();
|
||||
|
||||
return false;
|
||||
}
|
||||
@ -1552,7 +1553,8 @@ bool RiaApplication::parseArguments()
|
||||
}
|
||||
}
|
||||
|
||||
closeProject();
|
||||
closeAllWindows();
|
||||
processEvents();
|
||||
}
|
||||
|
||||
// Returning false will exit the application
|
||||
|
Loading…
Reference in New Issue
Block a user