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:
@@ -1399,7 +1399,8 @@ bool RiaApplication::parseArguments()
|
|||||||
std::vector<QString> gridFiles = readFileListFromTextFile(gridListFile);
|
std::vector<QString> gridFiles = readFileListFromTextFile(gridListFile);
|
||||||
runMultiCaseSnapshots(projectFileName, gridFiles, "multiCaseSnapshots");
|
runMultiCaseSnapshots(projectFileName, gridFiles, "multiCaseSnapshots");
|
||||||
|
|
||||||
closeProject();
|
closeAllWindows();
|
||||||
|
processEvents();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -1552,7 +1553,8 @@ bool RiaApplication::parseArguments()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
closeProject();
|
closeAllWindows();
|
||||||
|
processEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returning false will exit the application
|
// Returning false will exit the application
|
||||||
|
|||||||
Reference in New Issue
Block a user