-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loop function in generateWait (generator.ts) never ends #2606
Comments
Hi @tomaszkunicki, could you provide precise reproducible example? |
I think this is the case when the tab is not visible. I think the assumption was the transition should be emptied. |
I'm still investigating the issue. All I see that after a while I can get 100% utilization and 5 million of d3 timer tasks. It seems that this fix works for me. |
Tested triggering some API to simulate, but even tab is hidden the callback called. |
Add bulletproof code, when tab isn't visible terminate the loop. Ref naver#2606
Add bulletproof code, when tab isn't visible terminate the loop. Ref naver#2606
# [3.4.0](3.3.3...3.4.0) (2022-03-31) ### Bug Fixes * **api:** Fix flow on indexed/category axis type ([4aba436](4aba436)), closes [#2595](#2595) * **axis:** Fix culling visibility on dynamic loading ([4c79daf](4c79daf)), closes [#2582](#2582) * **axis:** fix hidden axis rescale on dynamic load ([5418853](5418853)), closes [#2523](#2523) [#2571](#2571) * **generator:** Prevent possible infinite loop when tab isn't visible ([bafdb17](bafdb17)), closes [#2606](#2606) * **option:** Fix data.hide not working for bubble/scatter type ([64ae74b](64ae74b)), closes [#2609](#2609) * **util:** Check if agent has mouse ([d42adaa](d42adaa)), closes [#2550](#2550) [#2585](#2585) * **util:** Enhance parsing date string ([8d9f422](8d9f422)), closes [#1714](#1714) ### Features * **api:** Implement axis range reset ([6c9d99e](6c9d99e)), closes [#2398](#2398) * **option:** Intent to ship onclick ([63c5a53](63c5a53)), closes [#2587](#2587) * **polar:** Intent to ship polar type ([feca715](feca715)), closes [#2462](#2462)
Description
When transition is processed (loop) the local variable (done) is not incremented in result
loop
function never ends.Steps to check or reproduce
Check in the debugger. The line with callback is not executed.
The text was updated successfully, but these errors were encountered: