mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: argList: parRunControl_ destruction order (since does Pstream::exit)
This commit is contained in:
@ -473,14 +473,14 @@ Foam::argList::argList
|
||||
bool initialise
|
||||
)
|
||||
:
|
||||
parRunControl_(args.parRunControl_),
|
||||
args_(args.args_),
|
||||
options_(options),
|
||||
executable_(args.executable_),
|
||||
rootPath_(args.rootPath_),
|
||||
globalCase_(args.globalCase_),
|
||||
case_(args.case_),
|
||||
argListStr_(args.argListStr_),
|
||||
parRunControl_(args.parRunControl_)
|
||||
argListStr_(args.argListStr_)
|
||||
{
|
||||
parse(checkArgs, checkOpts, initialise);
|
||||
}
|
||||
|
||||
@ -105,6 +105,10 @@ class argList
|
||||
// Private data
|
||||
static bool bannerEnabled;
|
||||
|
||||
//- Switch on/off parallel mode. Has to be first to be constructed
|
||||
// so destructor is done last.
|
||||
ParRunControl parRunControl_;
|
||||
|
||||
stringList args_;
|
||||
HashTable<string> options_;
|
||||
|
||||
@ -114,8 +118,6 @@ class argList
|
||||
fileName case_;
|
||||
string argListStr_;
|
||||
|
||||
ParRunControl parRunControl_;
|
||||
|
||||
// Signal handlers
|
||||
sigFpe sigFpe_;
|
||||
sigInt sigInt_;
|
||||
|
||||
Reference in New Issue
Block a user