Skip to content

fix(map-renderer): only count visible time against the render timeout - #29

Merged
gmaclennan merged 2 commits into
feat/download-complete-signalfrom
fix/render-timeout-hidden
Sep 17, 2026
Merged

gmaclennan merged 2 commits into
feat/download-complete-signalfrom
fix/render-timeout-hidden

Conversation

@gmaclennan

Copy link
Copy Markdown
Member

A hidden tab pauses requestAnimationFrame and with it MapLibre's render loop,
so a long export used to fail with a timeout if the user switched apps. The
timeout now pauses while the document is hidden and resumes on return.


Stack created with GitHub Stacks CLI • Give Feedback 💬

A hidden tab pauses requestAnimationFrame and with it MapLibre's render loop,
so a long export used to fail with a timeout if the user switched apps. The
timeout now pauses while the document is hidden and resumes on return.
@gmaclennan
gmaclennan added this pull request to stack #26 September 17, 2026 09:10
…ung tile

WebKit keeps a hung request's connection open after the map is destroyed, so
a second hanging-tile test starved the requests of the tests after it in CI.
@gmaclennan
gmaclennan merged commit bc6ad41 into master Sep 17, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant