Commit 5a974c0
authored
fix(flamegraph): Only dispatch checkpoint when finishing flamegraph i… (#104564)
…nteraction
There seems to be some edge cases where the checkpoint action is
dispatched mid interaction and can result in an infinite re-render. This
ensures the checkpoint is only emitted when the interaction finishes.1 parent ccb61aa commit 5a974c0
File tree
1 file changed
+8
-5
lines changed- static/app/components/profiling/flamegraph/interactions
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
0 commit comments