summaryrefslogtreecommitdiff
path: root/src/main/driver_unified.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/driver_unified.cpp')
-rw-r--r--src/main/driver_unified.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp
index 8f8e19f81..d2adf97c4 100644
--- a/src/main/driver_unified.cpp
+++ b/src/main/driver_unified.cpp
@@ -313,6 +313,11 @@ int runCvc4(int argc, char* argv[], Options& opts) {
pExecutor->flushStatistics(*opts[options::err]);
}
+ // make sure to flush replay output log before early-exit
+ if( opts[options::replayLog] != NULL ) {
+ *opts[options::replayLog] << flush;
+ }
+
#ifdef CVC4_DEBUG
if(opts[options::earlyExit] && opts.wasSetByUser(options::earlyExit)) {
_exit(returnValue);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback