summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trace_parser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/trace_parser.cpp b/trace_parser.cpp
index a7268af..1fa901e 100644
--- a/trace_parser.cpp
+++ b/trace_parser.cpp
@@ -114,6 +114,9 @@ void Parser::getBookmark(ParseBookmark &bookmark) {
void Parser::setBookmark(const ParseBookmark &bookmark) {
file->setCurrentOffset(bookmark.offset);
next_call_no = bookmark.next_call_no;
+
+ // Simply ignore all pending calls
+ deleteAll(calls);
}