From b74d63eb4dbfb492b55ddad3ddae7edcd5727823 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 11 Sep 2011 21:50:22 +0100 Subject: Reset pending call lists on Parser::setBookmark(). --- trace_parser.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); } -- cgit v1.2.3