aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 04:08:28 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 04:36:47 +0100
commit6feba520085c78f105cc9ebce4f81ed8cdaed085 (patch)
treec78c1f44f9ca32292828f419407961e0cf8e6251 /src/libcmd
parentfd1299cef399ec0c33e2b7416c63d78553dc3ced (diff)
Merge pull request #8895 from hercules-ci/gc-before-stats
eval: Run a full GC before printing stats (cherry picked from commit aeea49609be014b1928c95b7ec28dbedeb4f032a) Change-Id: I47a23d3a7a47ea61d9a2b5727b638f879f3aaf1e
Diffstat (limited to 'src/libcmd')
-rw-r--r--src/libcmd/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 4fc197956..a88ba8134 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -98,7 +98,7 @@ EvalCommand::EvalCommand()
EvalCommand::~EvalCommand()
{
if (evalState)
- evalState->printStats();
+ evalState->maybePrintStats();
}
ref<Store> EvalCommand::getEvalStore()