Commit e8edc53
committed
Guard startRenderLoop() against duplicate animation frame loops
Add early return if animationFrameId is already set, preventing
multiple concurrent RAF loops when resize() is called re-entrantly
from an onResize listener.1 parent a884a3d commit e8edc53
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1149 | 1149 | | |
1150 | 1150 | | |
1151 | 1151 | | |
| 1152 | + | |
1152 | 1153 | | |
1153 | 1154 | | |
1154 | 1155 | | |
| |||
0 commit comments