Skip to content

refactor: [DC-352] allow aborted syncs to finish before commencing final teardown routines - #12641

Open
modSpike wants to merge 1 commit into
masterfrom
refactor/dc-352
Open

refactor: [DC-352] allow aborted syncs to finish before commencing final teardown routines#12641
modSpike wants to merge 1 commit into
masterfrom
refactor/dc-352

Conversation

@modSpike

Copy link
Copy Markdown
Contributor

for removing folders permanently (either from remove folder sync or remove whole account) wipeForRemoval now waits for any running sync to finish before completing the teardown.

For application shutdown, which triggered an assert on isSyncRunning in Folder dtr, folderman now aborts any running sync (previously it just let them run!) and waits for completion before doing the final folder cleanup.

Also renamed FolderMan::unloadAndDeleteAllFolders to FolderMan::shutdown (for more clarity re: when it should be used)
@modSpike
modSpike requested a review from a team as a code owner September 10, 2026 11:24
@modSpike modSpike self-assigned this Sep 10, 2026
@update-docs

update-docs Bot commented Sep 10, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@modSpike
modSpike requested a review from erikjv September 10, 2026 11:24
@modSpike modSpike changed the title refacgtor: [DC-352] allow aborted syncs to finish before commencing final teardown routines refactor: [DC-352] allow aborted syncs to finish before commencing final teardown routines Sep 10, 2026
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