summaryrefslogtreecommitdiff
path: root/startup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'startup.cc')
-rw-r--r--startup.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/startup.cc b/startup.cc
index ad462e36..9e35adfb 100644
--- a/startup.cc
+++ b/startup.cc
@@ -49,6 +49,8 @@ namespace {
startup::~startup()
{
+ if (! ledger::do_cleanup)
+ return;
shutdown_parser_support();
}
}