Skip to content
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

Cancel the requestAnimationFrame when all roots are disconnected #633

Merged

Commits on Jun 25, 2024

  1. Cancel the requestAnimationFrame when all roots are disconnected

    Given that `pendingElements` was already being cleared, just below, there won't be anything to translate and as far as I can tell keeping the `requestAnimationFrame` running shouldn't be necessary.
    
    Note that this was found in the PDF.js project, please refer to [this discussion](mozilla/pdf.js#18313 (comment)), where we're trying to shutdown various asynchronous operations when running tests and currently Fluent make this difficult.
    Snuffleupagus committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    b8142ec View commit details
    Browse the repository at this point in the history