DevTools: Fix loading CPU profiles having last GC sample
When the last sample in a profile happen to be a (garbage collector), the forEachFrame function failed to close last opened stack frames. BUG=822909 Change-Id: I5165491e1aa1b92466aec339aa848186c89eb9f9 Reviewed-on: https://chromium-review.googlesource.com/967272 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#543880}
Showing
Please register or sign in to comment