Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an off-by-one in temporal leak reports
When the report is first rendered, before the user has interacted with it at all, we want to show the same set of leaked allocations as the old, non-temporal leaks report would show. This means that we need to include deallocations that occurred after the final snapshot, but before tracking stopped. To achieve that, we need to adjust our treatment of the "end" index chosen by the user, including allocations and deallocations that occurred between that snapshot and the next one (in other words, treating it as inclusive rather than exclusive). Signed-off-by: Matt Wozniski <[email protected]>
- Loading branch information