summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-01 01:47:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-01 01:47:06 -0400
commit559a76ac2bb744fcef92fdc602bce7ba21cd52be (patch)
tree2298d9ae4a3e1b839f062c07dcd8e0ede2014652 /src/main.cc
parent9d267fa1331a570e2b4c978f0b35a107a47b51c1 (diff)
downloadfork-ledger-559a76ac2bb744fcef92fdc602bce7ba21cd52be.tar.gz
fork-ledger-559a76ac2bb744fcef92fdc602bce7ba21cd52be.tar.bz2
fork-ledger-559a76ac2bb744fcef92fdc602bce7ba21cd52be.zip
Fixed the way the pager process was being handled.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 7d43849b..b3dcd16f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -139,6 +139,9 @@ int main(int argc, char * argv[], char * envp[])
status = _status;
}
+ // Close the output stream, waiting on the pager process if need be
+ session->report->output_stream.close();
+
// If memory verification is being performed (which can be very slow), clean
// up everything by closing the session and deleting the session object, and
// then shutting down the memory tracing subsystem. Otherwise, let it all