summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
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