} else if(mode == 1) { // portfolio
// If quantified, stay sequential
- if(d_smts[0]->getLogicInfo().isQuantified()) {
+ LogicInfo logicInfo = d_smts[0]->getLogicInfo();
+ logicInfo.lock();
+ if(logicInfo.isQuantified()) {
return CommandExecutor::doCommandSingleton(cmd);
}
*opts[options::replayLog] << flush;
}
+ // make sure out and err streams are flushed too
+ *opts[options::out] << flush;
+ *opts[options::err] << flush;
+
#ifdef CVC4_DEBUG
if(opts[options::earlyExit] && opts.wasSetByUser(options::earlyExit)) {
_exit(returnValue);
}
#else /* CVC4_DEBUG */
if(opts[options::earlyExit]) {
- _exit(returnValue);
+ _exit(returnValue);
}
#endif /* CVC4_DEBUG */
}