summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-24 18:37:22 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-24 18:37:22 +0000
commit1f48835b7252757bb778a93bdac2d62e1dea59bc (patch)
tree1b2f2cda4091a146a2ddfbfcf137459e712fcc17 /src/main
parente2611a54c5479086df0c4a80f56597aae80b5c4e (diff)
Fix the memout issue seen in recent nightly regressions (was due to a
Statistics-printing problem, limited to certain benchmarks). Mark some unlabeled header files "cvc4_private.h". Other minor cleanup. (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/driver_unified.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp
index e2b1c21f0..4ac137ef1 100644
--- a/src/main/driver_unified.cpp
+++ b/src/main/driver_unified.cpp
@@ -308,9 +308,11 @@ int runCvc4(int argc, char* argv[], Options& opts) {
s_totalTime.stop();
+ // Set the global executor pointer to NULL first. If we get a
+ // signal while dumping statistics, we don't want to try again.
+ pExecutor = NULL;
if(opts[options::statistics]) {
cmdExecutor.flushStatistics(*opts[options::err]);
}
- pExecutor = NULL;
return returnValue;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback