diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2011-09-11 21:50:22 +0100 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2011-09-11 21:50:22 +0100 |
commit | b74d63eb4dbfb492b55ddad3ddae7edcd5727823 (patch) | |
tree | db5ff72f879990d3795e62690fc348b52149ab07 | |
parent | 42b10e40c2e96a65af0e4953ef351e240d3e8002 (diff) |
Reset pending call lists on Parser::setBookmark().
-rw-r--r-- | trace_parser.cpp | 3 |
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); } |