Skip to content

Commit

Permalink
Fixing a tiny bug with thread depth calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
bombomby committed Sep 5, 2019
1 parent 2a06b3c commit 685e20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/ThreadView/EventsThreadRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void UpdateThreadsDepth()

foreach (EventFrame frame in EventData.Events)
{
depth = Math.Max(GetTree(frame).Depth, MaxDepth);
depth = Math.Max(GetTree(frame).Depth, depth);
}

MaxThreadsDepth = depth;
Expand Down

0 comments on commit 685e20b

Please sign in to comment.