Skip to content

fix: cancel generic space folder loading #2567

Merged
JammingBen merged 2 commits into
mainfrom
fix/generic-space-folder-loader-cancel
May 21, 2026
Merged

fix: cancel generic space folder loading #2567
JammingBen merged 2 commits into
mainfrom
fix/generic-space-folder-loader-cancel

Conversation

@JammingBen
Copy link
Copy Markdown
Member

@JammingBen JammingBen commented May 20, 2026

Cancel any potential ongoing folder load task before starting a new one. Previously, a task just didn't run at all when there was still another task running. This resulted in edge cases where a folder would show contents of the previously loaded folder.

Refactors GenericSpace to script setup while at it. See aa2fd08 for the actual fix.

fixes #2477

Cancel any potential ongoing folder load task before starting a new
one. Previously, a task just didn't run at all when there was still
another task running. This resulted in edge cases where a folder would
show contents of the previously loaded folder.
@JammingBen JammingBen self-assigned this May 20, 2026
@JammingBen JammingBen requested a review from AlexAndBear May 20, 2026 12:26
@JammingBen JammingBen merged commit ede285e into main May 21, 2026
30 checks passed
@JammingBen JammingBen deleted the fix/generic-space-folder-loader-cancel branch May 21, 2026 05:42
@openclouders openclouders mentioned this pull request May 20, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Directory listing doesn't get cancelled on route change

2 participants